summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-04-07 10:56:38 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-04-08 07:52:46 +0100
commite04e4262386b8735d2ceabbc187405cace89dc80 (patch)
treeee3423e6d2a8281a7ae1ba88871e14409ecba6cd
parente57ef66fab7cb05b84175b3cfb5c032150cfa682 (diff)
[test/get-xrender-format] Free static data on exit.
Free the internal caches so that valgrind reports zero leaks.
-rw-r--r--test/get-xrender-format.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/get-xrender-format.c b/test/get-xrender-format.c
index 0c9ce9a3d..6678249e6 100644
--- a/test/get-xrender-format.c
+++ b/test/get-xrender-format.c
@@ -106,9 +106,12 @@ main (void)
return CAIRO_TEST_FAILURE;
}
+ cairo_surface_destroy (surface);
XCloseDisplay (dpy);
+ cairo_debug_reset_static_data ();
+
cairo_test_fini ();
return CAIRO_TEST_SUCCESS;