[Mesa-stable] [PATCH] Fix memory leak in loader on init of drawable as pixmap

Juan A. Suarez Romero jasuarez at igalia.com
Mon Dec 10 11:27:12 UTC 2018


On Mon, 2018-12-03 at 19:03 +0000, Kirill Burtsev wrote:
> ---
>  src/loader/loader_dri3_helper.c | 1 +
>  1 file changed, 1 insertion(+)
> 


I don't see this patch in the mesa-dev mailing list. Are sent to @stable only on
purpose? Because it seems it makes sense to send to mesa-dev too.


	J.A.

> diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
> index 1981b5f051..7cd6b1e8ab 100644
> --- a/src/loader/loader_dri3_helper.c
> +++ b/src/loader/loader_dri3_helper.c
> @@ -1509,6 +1509,7 @@ dri3_update_drawable(struct loader_dri3_drawable *draw)
>              mtx_unlock(&draw->mtx);
>              return false;
>           }
> +         free(error);
>           draw->is_pixmap = true;
>           xcb_unregister_for_special_event(draw->conn, draw->special_event);
>           draw->special_event = NULL;



More information about the mesa-stable mailing list