gio/tests/actions: Plug a memory leak
authorColin Walters <walters@verbum.org>
Mon, 25 Jun 2012 22:14:10 +0000 (18:14 -0400)
committerColin Walters <walters@verbum.org>
Mon, 25 Jun 2012 22:14:10 +0000 (18:14 -0400)
gio/tests/actions.c

index ad79a82..eaf13b0 100644 (file)
@@ -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);
 }