Skip to content
Snippets Groups Projects
Commit d9cdad37 authored by Vinson Lee's avatar Vinson Lee Committed by Eric Engestrom
Browse files

radv: Fix memory leak on error path.


Fix defect reported by Coverity Scan.

Resource leak (RESOURCE_LEAK)
leaked_storage: Variable prolog going out of scope leaks the storage it points to

Fixes: 80841196 ("radv: implement dynamic vertex input state using vertex shader prologs")
Suggested-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Signed-off-by: default avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <mesa/mesa!13402>
(cherry picked from commit 670fd812)
parent ebf21815
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment