[glib] Fix minor mem leak in test case



commit 8df2cca08a5c06286303b39a34121c7e6925bf15
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Sep 7 18:34:26 2014 +0200

    Fix minor mem leak in test case

 gio/tests/simple-proxy.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/simple-proxy.c b/gio/tests/simple-proxy.c
index 306ebdd..faf1cd6 100644
--- a/gio/tests/simple-proxy.c
+++ b/gio/tests/simple-proxy.c
@@ -220,6 +220,8 @@ test_ignore (void)
       g_assert_cmpstr (proxies[0], ==, ignore_tests[i].proxy);
       g_strfreev (proxies);
     }
+
+  g_object_unref (resolver);
 }
 
 int


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