summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-04-23 11:58:18 +0000
committerKristian Høgsberg <krh@redhat.com>2005-04-23 11:58:18 +0000
commit1c756648fc4b5984cb721571bc4cbd68d8c95b29 (patch)
tree11ddb93c409d2149615ecb4b39d2759249dce3da /src
parent70211bdbca78c944bc1447eb6216c8e84e14db23 (diff)
Finalize the correct pattern.
Diffstat (limited to 'src')
-rw-r--r--src/cairo-gstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c
index 560974b6..4290077f 100644
--- a/src/cairo-gstate.c
+++ b/src/cairo-gstate.c
@@ -1563,9 +1563,9 @@ _composite_trap_region (cairo_gstate_t *gstate,
extents->x, extents->y,
extents->width, extents->height);
+ _cairo_pattern_fini (&pattern.base);
if (gstate->clip.surface)
- _cairo_pattern_fini (&pattern.base);
- _cairo_pattern_fini (&mask.base);
+ _cairo_pattern_fini (&mask.base);
if (num_rects > 1) {
tmp_status = _cairo_surface_set_clip_region (dst, gstate->clip.region);