mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
gio/tests/actions: Plug a memory leak
This commit is contained in:
parent
b65194e8df
commit
b837cdde69
@ -540,6 +540,7 @@ list_cb (GObject *source,
|
||||
g_assert (v);
|
||||
g_variant_get (v, "(^a&s)", &actions);
|
||||
g_assert_cmpint (g_strv_length (actions), ==, G_N_ELEMENTS (exported_entries));
|
||||
g_strfreev (actions);
|
||||
g_variant_unref (v);
|
||||
g_main_loop_quit (loop);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user