summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-11-09 20:28:28 +0100
committerPhilip Withnall <withnall@endlessm.com>2018-07-05 13:13:59 +0100
commit92a01e228064faa959904ed30bc8f8e307b2d009 (patch)
tree4cab50f10ffc69f3919728e923829b76de862fbc
parent2a1404ac215bf8966a5668c0a59c034355dd4945 (diff)
downloadglib-92a01e228064faa959904ed30bc8f8e307b2d009.tar.gz
gdbus-connection-loss: Fix leak in test
https://gitlab.gnome.org/GNOME/glib/issues/786
-rw-r--r--gio/tests/gdbus-connection-loss.c3
1 files changed, 3 insertions, 0 deletions
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;
}