Re: [Mesa-dev] [PATCH mesa] vulkan: don't free uninitialised memory

2018-05-22 Thread Lionel Landwerlin
On 22/05/18 18:02, Eric Engestrom wrote: 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. Signed-off-by: Eric Engestrom Reviewed-by: Lionel Landwerlin Fixes: c80c08e22603 ("vulkan/wsi/x11: Add suppor

[Mesa-dev] [PATCH mesa] vulkan: don't free uninitialised memory

2018-05-22 Thread Eric Engestrom
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. Signed-off-by: Eric Engestrom --- src/vulkan/wsi/wsi_common_x11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vulkan/wsi/