Re: Release planning for 0.14.2

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Thu, Mar 05, 2015 at 12:20:42AM +0000, Henry (Yu) Song wrote:
> Hi, Bryce
> 
> Following patch fixes a memory leak in xlib surface.
> 
> >From cdd185b6143876a4ce320e4f3a3f59d3fc7a5813 Mon Sep 17 00:00:00 2001
> From: Henry Song <[email protected]>
> Date: Wed, 4 Mar 2015 10:06:36 -0800
> Subject: [PATCH] xlib: Remove queued event from _XReadEvents
> 
> ---
>  src/cairo-xlib-surface-shm.c |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/cairo-xlib-surface-shm.c b/src/cairo-xlib-surface-shm.c
> index fa7d3eb..9b13505 100644
> --- a/src/cairo-xlib-surface-shm.c
> +++ b/src/cairo-xlib-surface-shm.c
> @@ -670,6 +670,7 @@ _cairo_xlib_shm_surface_flush (void *abstract_surface, unsigned flags)
>      cairo_xlib_shm_surface_t *shm = abstract_surface;
>      cairo_xlib_display_t *display;
>      Display *dpy;
> +    _XQEvent *qev;
>      cairo_status_t status;
>  
>      if (shm->active == 0)
> @@ -694,6 +695,10 @@ _cairo_xlib_shm_surface_flush (void *abstract_surface, unsigned flags)
>      while (! seqno_passed (shm->active, LastKnownRequestProcessed (dpy))) {
>  	LockDisplay(dpy);
>  	_XReadEvents(dpy);
> +	while (dpy->head) {
> +	    qev = dpy->head;
> +	    _XDeq (dpy, NULL, qev);
> +	}
>  	UnlockDisplay(dpy);
>      }

Thanks, applied:

   4e680ff..e7fc8f4  master -> master


> -- 
> 1.7.9.5
> 
> ________________________________________
> From: cairo [[email protected]] on behalf of Bryce Harrington [[email protected]]
> Sent: Wednesday, March 04, 2015 2:59 PM
> To: [email protected]
> Subject: [cairo] Release planning for 0.14.2
> 
> I'm starting today on prepping a new release.  It's been a few months
> since our last release, and we've accumulated a fair bit of changes in
> trunk.  On a cursory look, these are all fixes, refactors, and
> optimizations -- nothing that changes API -- so this release will be
> numbered 0.14.2.
> 
> If you know of patches that should be considered, please flag them for
> me by Friday at the latest.  I'm aiming to announce the release the
> morning of Monday, March 9th.
> 
> Bryce
> 
> --
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.