[Mesa-stable] [PATCH] vulkan/wsi: Free the event in x11_manage_fifo_queues().

Henri Verbeet hverbeet at gmail.com
Fri Oct 13 15:10:26 UTC 2017


Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
---
I should still have commit access.
---
 src/vulkan/wsi/wsi_common_x11.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
index ecdaf91..22b067b 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;
       }
-- 
2.1.4



More information about the mesa-stable mailing list