[glib/wip/gcleanup] gdbus-connection-loss: Fix leak in test
- From: Stefan Walter <stefw src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [glib/wip/gcleanup] gdbus-connection-loss: Fix leak in test
 
- Date: Sun, 10 Nov 2013 21:39:13 +0000 (UTC)
 
commit e66dfb1411bd3f855b2634059aa5edd723779aca
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]