[Commit] cairo/src cairo_surface.c,1.9,1.10

Carl Worth commit at keithp.com
Tue Sep 16 11:28:49 PDT 2003


Committed by: cworth

Update of /local/src/CVS/cairo/src
In directory home.keithp.com:/tmp/cvs-serv14704/src

Modified Files:
	cairo_surface.c 
Log Message:
Fixed massive pixmap leak

Index: cairo_surface.c
===================================================================
RCS file: /local/src/CVS/cairo/src/cairo_surface.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cairo_surface.c	16 Sep 2003 13:45:20 -0000	1.9
+++ cairo_surface.c	16 Sep 2003 17:28:46 -0000	1.10
@@ -276,11 +276,7 @@
 						     NULL,
 						     format,
 						     DefaultColormap (dpy, scr));
-/* XXX: huh? This should be fine since we already created a picture
-	from the pixmap, right?? (Somehow, it seems to be causing some
-	breakage).
 	XFreePixmap (surface->dpy, pix);
-*/
     } else {
 	char *data;
 	int stride;




More information about the Commit mailing list