[cairo-commit] cairo-demo/PS ChangeLog,1.5,1.6 basket.c,1.5,1.6

Kristian Hogsberg commit at pdx.freedesktop.org
Thu Aug 4 23:05:43 PDT 2005


Committed by: krh

Update of /cvs/cairo/cairo-demo/PS
In directory gabe:/tmp/cvs-serv18235

Modified Files:
	ChangeLog basket.c 
Log Message:
2005-08-05  Kristian Høgsberg  <krh at redhat.com>

        * basket.c (main): Add cairo_surface_destroy() to make sure we
        write finish the PS file properly (from Adrian Johnson).



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/PS/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ChangeLog	17 May 2005 14:41:07 -0000	1.5
+++ ChangeLog	5 Aug 2005 06:05:40 -0000	1.6
@@ -1,3 +1,8 @@
+2005-08-05  Kristian Høgsberg  <krh at redhat.com>
+
+	* basket.c (main): Add cairo_surface_destroy() to make sure we
+	write finish the PS file properly (from Adrian Johnson).
+
 2005-05-17  Carl Worth  <cworth at cworth.org>
 
 	* Makefile:

Index: basket.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/PS/basket.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- basket.c	17 May 2005 14:41:07 -0000	1.5
+++ basket.c	5 Aug 2005 06:05:40 -0000	1.6
@@ -55,6 +55,7 @@
 				       Y_INCHES * 72.0);
 
     cr = cairo_create (surface);
+    cairo_surface_destroy(surface);
 
     draw (cr);
     cairo_show_page (cr);




More information about the cairo-commit mailing list