diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-04-07 10:56:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-04-08 07:52:46 +0100 |
commit | e04e4262386b8735d2ceabbc187405cace89dc80 (patch) | |
tree | ee3423e6d2a8281a7ae1ba88871e14409ecba6cd | |
parent | e57ef66fab7cb05b84175b3cfb5c032150cfa682 (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.c | 3 |
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; |