Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com

On 13/10/17 16:10, Henri Verbeet wrote:
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Henri Verbeet <hverb...@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;
        }


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to