mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 09:38:11 +02:00
xcb: Destroy reference to clip surface after use.
This commit is contained in:
parent
98e3dfbb89
commit
35432e37c2
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue