[glib] GMenuModel: Don't leak GDBusConnection in test



commit 9dce93514eb80cd54c2c02db3abf50f2d5a34fb0
Author: David Zeuthen <davidz redhat com>
Date:   Wed Apr 18 13:33:00 2012 -0400

    GMenuModel: Don't leak GDBusConnection in test
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=672985#c89
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 gio/tests/gmenumodel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/gmenumodel.c b/gio/tests/gmenumodel.c
index 29dd1af..c882c49 100644
--- a/gio/tests/gmenumodel.c
+++ b/gio/tests/gmenumodel.c
@@ -839,6 +839,7 @@ test_dbus_subscriptions (void)
   g_object_unref (menu);
 
   g_main_loop_unref (loop);
+  g_object_unref (bus);
 }
 
 static gpointer



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