Mesa (master): vulkan/wsi: Free the event in x11_manage_fifo_queues().

Lionel Landwerlin llandwerlin at kemper.freedesktop.org
Tue Oct 17 16:17:58 UTC 2017


Module: Mesa
Branch: master
Commit: 3de87f7cd79b21ef3844670e601af4a60409986b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3de87f7cd79b21ef3844670e601af4a60409986b

Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Fri Oct 13 17:10:26 2017 +0200

vulkan/wsi: Free the event in x11_manage_fifo_queues().

Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
Fixes: e73d136a023 ("vulkan/wsi/x11: Implement FIFO mode.")
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com

---

 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 ecdaf91434..22b067bf78 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;
       }




More information about the mesa-commit mailing list