Skip to content
Snippets Groups Projects
Commit 670fd812 authored by Vinson Lee's avatar Vinson Lee Committed by Marge Bot
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>
parent b797ecac
No related branches found
No related tags found
Loading
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