mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-03 20:40:26 +01:00
[test/get-xrender-format] Free static data on exit.
Free the internal caches so that valgrind reports zero leaks.
This commit is contained in:
parent
e57ef66fab
commit
e04e426238
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue