summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Verbeet <[email protected]>2017-10-13 17:10:26 +0200
committerLionel Landwerlin <[email protected]>2017-10-17 17:17:15 +0100
commit3de87f7cd79b21ef3844670e601af4a60409986b (patch)
treee22ce00488719bb3ed064d0f73543a59695bec95
parentcde785927396e2581a3b3b3301c3783ea9a2961c (diff)
vulkan/wsi: Free the event in x11_manage_fifo_queues().
Cc: [email protected] Signed-off-by: Henri Verbeet <[email protected]> Fixes: e73d136a023 ("vulkan/wsi/x11: Implement FIFO mode.") Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]
-rw-r--r--src/vulkan/wsi/wsi_common_x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
index ecdaf914344..22b067bf787 100644
--- a/src/vulkan/wsi/wsi_common_x11.c
+++ b/src/vulkan/wsi/wsi_common_x11.c
@@ -939,6 +939,7 @@ x11_manage_fifo_queues(void *state)
goto fail;
result = x11_handle_dri3_present_event(chain, (void *)event);
+ free(event);
if (result != VK_SUCCESS)
goto fail;
}