[test/get-xrender-format] Free static data on exit.

Free the internal caches so that valgrind reports zero leaks.
This commit is contained in:
Chris Wilson 2008-04-07 10:56:38 +01:00
parent e57ef66fab
commit e04e426238

View file

@ -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;