compare-render: Fix some memory leaks

This commit is contained in:
Timm Bäder 2020-05-24 17:14:18 +02:00
parent d5bf3c2cd1
commit 04b7dd802a

View File

@ -166,6 +166,8 @@ main (int argc, char **argv)
return 1;
}
g_option_context_free (context);
gtk_init ();
node_file = argv[1];
@ -237,5 +239,7 @@ main (int argc, char **argv)
cairo_surface_destroy (rendered_surface);
g_object_unref (texture);
gsk_render_node_unref (node);
return success ? 0 : 1;
}