[glib] gio/tests/actions: Plug a memory leak



commit b837cdde69fa39ed10aaf8791ab656ad41dedeb0
Author: Colin Walters <walters verbum org>
Date:   Mon Jun 25 18:14:10 2012 -0400

    gio/tests/actions: Plug a memory leak

 gio/tests/actions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/actions.c b/gio/tests/actions.c
index ad79a82..eaf13b0 100644
--- a/gio/tests/actions.c
+++ b/gio/tests/actions.c
@@ -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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]