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

Juan A. Suarez Romero jasuarez at igalia.com
Mon Dec 17 10:37:55 UTC 2018


On Tue, 2018-12-11 at 10:22 +0000, Kirill Burtsev wrote:
> Hello,
> 
> patch in dev with different title: lists.freedesktop.org/archives/mesa-dev/2018-December/211186.html


Thanks, this patch is indeeed already in the 18.2 queue.

	J.A.

> 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;
> 
> _______________________________________________
> mesa-stable mailing list
> mesa-stable at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable



More information about the mesa-stable mailing list