[cairo] Release planning for 0.14.2

Bryce Harrington bryce at osg.samsung.com
Thu Mar 5 17:28:11 PST 2015


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 <henrysong at samsung.com>
> 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 [cairo-bounces at cairographics.org] on behalf of Bryce Harrington [bryce at osg.samsung.com]
> Sent: Wednesday, March 04, 2015 2:59 PM
> To: cairo at cairographics.org
> 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
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list