From 92a01e228064faa959904ed30bc8f8e307b2d009 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 9 Nov 2013 20:28:28 +0100 Subject: [PATCH] gdbus-connection-loss: Fix leak in test https://gitlab.gnome.org/GNOME/glib/issues/786 --- gio/tests/gdbus-connection-loss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gio/tests/gdbus-connection-loss.c b/gio/tests/gdbus-connection-loss.c index 6f0140986..9dbbeb2a4 100644 --- a/gio/tests/gdbus-connection-loss.c +++ b/gio/tests/gdbus-connection-loss.c @@ -136,7 +136,10 @@ main (int argc, ret = g_test_run(); + session_bus_down (); + g_object_unref (c); + g_main_loop_unref (loop); return ret; }