summaryrefslogtreecommitdiff
path: root/test/surface-finish-twice.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-04-13 14:51:59 +0000
committerCarl Worth <cworth@cworth.org>2005-04-13 14:51:59 +0000
commit66688da5e4485a369750bd5600134a94c281d985 (patch)
tree08b70524ea103a2b7732601364932442ebf5e16b /test/surface-finish-twice.c
parent0fe6378bdb83b550ad10b007463d7fb12ef742a9 (diff)
downloadcairo-66688da5e4485a369750bd5600134a94c281d985.tar.gz
Set freed pointer to NULL.
Fix to actually set surface->finished when done. Closes bug #2950 as documented in test/surface-finish-twice.c. Note that this bug is fixed.
Diffstat (limited to 'test/surface-finish-twice.c')
-rw-r--r--test/surface-finish-twice.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/surface-finish-twice.c b/test/surface-finish-twice.c
index 7f39b5843..3f24e391c 100644
--- a/test/surface-finish-twice.c
+++ b/test/surface-finish-twice.c
@@ -34,6 +34,10 @@
*
* *** glibc detected *** double free or corruption: 0x082a7268 ***
* Aborted
+ *
+ * 2005-04-13 Carl Worth <cworth@cworth.org>
+ *
+ * Looks like surface->finished was never being set. Now fixed.
*/
#include "cairo-test.h"