[cairo-commit] cairo/src cairo-gstate.c,1.112,1.113

Kristian Hogsberg commit at pdx.freedesktop.org
Sat Apr 23 11:58:21 PDT 2005


Committed by: krh

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv5531/src

Modified Files:
	cairo-gstate.c 
Log Message:
2005-04-23  Kristian Høgsberg  <krh at redhat.com>

        * src/cairo-gstate.c (_composite_trap_region): Finalize the
        correct pattern.



Index: cairo-gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-gstate.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- cairo-gstate.c	19 Apr 2005 23:29:05 -0000	1.112
+++ cairo-gstate.c	23 Apr 2005 18:58:18 -0000	1.113
@@ -1563,9 +1563,9 @@
 				       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);




More information about the cairo-commit mailing list