[cairo-commit] cairo/src cairo-gstate.c,1.145,1.146

Carl Worth commit at pdx.freedesktop.org
Fri Jul 15 01:05:58 PDT 2005


Committed by: cworth

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

Modified Files:
	cairo-gstate.c 
Log Message:

        * src/cairo-gstate.c: (_cairo_gstate_mask): Fix memory leak,
        (missing _cairo_pattern_fini).


Index: cairo-gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-gstate.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- cairo-gstate.c	8 Jul 2005 17:12:29 -0000	1.145
+++ cairo-gstate.c	15 Jul 2005 08:05:56 -0000	1.146
@@ -952,6 +952,7 @@
 
     if (gstate->clip.surface)
 	_cairo_pattern_fini (&intermediate_pattern.base);
+    _cairo_pattern_fini (&pattern.base);
 
     return status;
 }




More information about the cairo-commit mailing list