tests: Fix GVariantType leak in GAction tests

This commit is contained in:
Tomasz Miąsko 2018-11-01 00:00:00 +00:00
parent 52bab0254a
commit b7571d5f0f

View File

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