gio/tests/actions: Plug a memory leak

This commit is contained in:
Colin Walters 2012-06-25 18:14:10 -04:00
parent b65194e8df
commit b837cdde69

View File

@ -540,6 +540,7 @@ list_cb (GObject *source,
g_assert (v); g_assert (v);
g_variant_get (v, "(^a&s)", &actions); g_variant_get (v, "(^a&s)", &actions);
g_assert_cmpint (g_strv_length (actions), ==, G_N_ELEMENTS (exported_entries)); g_assert_cmpint (g_strv_length (actions), ==, G_N_ELEMENTS (exported_entries));
g_strfreev (actions);
g_variant_unref (v); g_variant_unref (v);
g_main_loop_quit (loop); g_main_loop_quit (loop);
} }