gdbus-connection-loss: Fix leak in test
authorStef Walter <stefw@gnome.org>
Sat, 9 Nov 2013 19:28:28 +0000 (20:28 +0100)
committerStef Walter <stefw@gnome.org>
Mon, 11 Nov 2013 07:46:45 +0000 (08:46 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=711802

gio/tests/gdbus-connection-loss.c

index ed4142d..2a6e619 100644 (file)
@@ -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;
 }