diff options
author | Eric Engestrom <[email protected]> | 2018-05-18 17:12:53 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-05-29 17:44:13 +0100 |
commit | e4fe2fd3bb26d52e64d98207692a4469f04fe1d5 (patch) | |
tree | 9cdc94d0f10d6660d1a976918ac1521ff7d906b7 /src/gallium/state_trackers | |
parent | 51a17e7feec4f9c693a070df1a957ca8a1f3ab1e (diff) |
vulkan: don't free uninitialised memory
The modifiers array hasn't been initialised by then, much less with data
that would need freeing.
Move the label after the loop to fix this.
Fixes: c80c08e22603 ("vulkan/wsi/x11: Add support for DRI3 v1.2")
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions