[glib: 1/10] gdbus-connection-loss: Fix leak in test
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/10] gdbus-connection-loss: Fix leak in test
- Date: Fri, 13 Jul 2018 15:47:47 +0000 (UTC)
commit 92a01e228064faa959904ed30bc8f8e307b2d009
Author: Stef Walter <stefw gnome org>
Date: Sat Nov 9 20:28:28 2013 +0100
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]