[cairo-commit] cairo/test composite-integer-translate-over-repeat.c, 1.1, 1.2

Carl Worth commit at pdx.freedesktop.org
Mon Jul 18 08:23:23 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv31214/test

Modified Files:
	composite-integer-translate-over-repeat.c 
Log Message:

        * test/composite-integer-translate-over-repeat.c (draw): Fix leak
        of pattern.


Index: composite-integer-translate-over-repeat.c
===================================================================
RCS file: /cvs/cairo/cairo/test/composite-integer-translate-over-repeat.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- composite-integer-translate-over-repeat.c	15 Jul 2005 20:45:19 -0000	1.1
+++ composite-integer-translate-over-repeat.c	18 Jul 2005 15:23:21 -0000	1.2
@@ -50,6 +50,7 @@
     cairo_fill (cr);
 
     cairo_surface_destroy (image);
+    cairo_pattern_destroy (pat);
 
     return CAIRO_TEST_SUCCESS;
 }




More information about the cairo-commit mailing list