[glib] gdbus-connection-loss: Fix leak in test



commit 670379b26f4a86c7b51b928eb0332b9a654e4c4c
Author: Stef Walter <stefw gnome org>
Date:   Sat Nov 9 20:28:28 2013 +0100

    gdbus-connection-loss: Fix leak in test
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711802

 gio/tests/gdbus-connection-loss.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/gdbus-connection-loss.c b/gio/tests/gdbus-connection-loss.c
index ed4142d..2a6e619 100644
--- a/gio/tests/gdbus-connection-loss.c
+++ b/gio/tests/gdbus-connection-loss.c
@@ -139,7 +139,10 @@ main (int   argc,
 
   ret = g_test_run();
 
+  session_bus_down ();
+
   g_object_unref (c);
+  g_main_loop_unref (loop);
 
   return ret;
 }


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