diff options
-rw-r--r-- | src/vulkan/wsi/wsi_common_x11.c | 1 |
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; } |