mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
tests: Fix GVariantType leak in GAction tests
This commit is contained in:
parent
52bab0254a
commit
b7571d5f0f
@ -1040,6 +1040,8 @@ test_property_actions (void)
|
||||
g_assert_cmpstr (name, ==, "keepalive");
|
||||
g_assert (enabled);
|
||||
g_free (name);
|
||||
g_variant_type_free (ptype);
|
||||
g_variant_type_free (stype);
|
||||
g_variant_unref (state);
|
||||
|
||||
g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action));
|
||||
|
Loading…
Reference in New Issue
Block a user