[cairo-commit] cairo/test surface-finish-twice.c,1.1,1.2
Carl Worth
commit at pdx.freedesktop.org
Wed Apr 13 14:52:01 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv22351/test
Modified Files:
surface-finish-twice.c
Log Message:
* src/cairo-image-surface.c:
(_cairo_image_abstract_surface_finish): Set freed pointer to NULL.
* src/cairo-surface.c: (cairo_surface_finish): Fix to actually set
surface->finished when done. Closes bug #2950 as documented in
test/surface-finish-twice.c.
* test/surface-finish-twice.c: Note that this bug is fixed.
Index: surface-finish-twice.c
===================================================================
RCS file: /cvs/cairo/cairo/test/surface-finish-twice.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- surface-finish-twice.c 13 Apr 2005 21:48:03 -0000 1.1
+++ surface-finish-twice.c 13 Apr 2005 21:51:59 -0000 1.2
@@ -34,6 +34,10 @@
*
* *** glibc detected *** double free or corruption: 0x082a7268 ***
* Aborted
+ *
+ * 2005-04-13 Carl Worth <cworth at cworth.org>
+ *
+ * Looks like surface->finished was never being set. Now fixed.
*/
#include "cairo-test.h"
More information about the cairo-commit
mailing list