xcb: Destroy reference to clip surface after use.

This commit is contained in:
Chris Wilson 2010-03-23 09:35:51 +00:00
parent 98e3dfbb89
commit 35432e37c2

View file

@ -2564,6 +2564,9 @@ _composite_boxes (cairo_xcb_surface_t *dst,
status = _render_composite_boxes (dst, op, src,
need_clip_mask ? &mask.base : NULL,
&extents->bounded, boxes);
if (need_clip_mask)
_cairo_pattern_fini (&mask.base);
}
if (status == CAIRO_STATUS_SUCCESS && ! extents->is_bounded) {