diff options
author | Kristian Høgsberg <krh@redhat.com> | 2005-04-23 11:58:18 +0000 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2005-04-23 11:58:18 +0000 |
commit | 1c756648fc4b5984cb721571bc4cbd68d8c95b29 (patch) | |
tree | 11ddb93c409d2149615ecb4b39d2759249dce3da | |
parent | 70211bdbca78c944bc1447eb6216c8e84e14db23 (diff) |
Finalize the correct pattern.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/cairo-gstate.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-04-23 Kristian Høgsberg <krh@redhat.com> + + * src/cairo-gstate.c (_composite_trap_region): Finalize the + correct pattern. + 2005-04-22 Kristian Høgsberg <krh@redhat.com> * src/cairo-png.c (cairo_image_surface_create_for_png): Only check 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); |