[Mesa-stable] [PATCH] Fix memory leak in loader on init of drawable as pixmap
Kirill Burtsev
kirill.burtsev at qt.io
Tue Dec 11 10:22:41 UTC 2018
Hello,
patch in dev with different title: lists.freedesktop.org/archives/mesa-dev/2018-December/211186.html<https://lists.freedesktop.org/archives/mesa-dev/2018-December/211186.html>
________________________________
From: Juan A. Suarez Romero <jasuarez at igalia.com>
Sent: Monday, December 10, 2018 12:27:12 PM
To: Kirill Burtsev; mesa-stable at lists.freedesktop.org
Subject: Re: [Mesa-stable] [PATCH] Fix memory leak in loader on init of drawable as pixmap
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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20181211/fdfff16f/attachment.html>
More information about the mesa-stable
mailing list