Commit df303adc authored by Eric Engestrom's avatar Eric Engestrom Committed by Dylan Baker
Browse files

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: c80c08e2 ("vulkan/wsi/x11: Add support for DRI3 v1.2")
Signed-off-by: default avatarEric Engestrom <eric.engestrom@intel.com>
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit e4fe2fd3)
parent b6167e96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment