mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
reftests: Plug a few memory leaks
Noticed in passing.
This commit is contained in:
parent
8540bea65e
commit
7aef77a21a
@ -322,12 +322,16 @@ test_ui_file (GFile *file)
|
||||
if (diff_image)
|
||||
{
|
||||
save_image (diff_image, ui_file, ".diff.png");
|
||||
cairo_surface_destroy (diff_image);
|
||||
g_test_fail ();
|
||||
}
|
||||
|
||||
remove_extra_css (provider);
|
||||
|
||||
g_free (ui_file);
|
||||
|
||||
cairo_surface_destroy (ui_image);
|
||||
cairo_surface_destroy (reference_image);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user