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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Sat Oct 14 00:25:42 UTC 2017


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com

On 13/10/17 16:10, Henri Verbeet wrote:
> 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;
>         }




More information about the mesa-dev mailing list