[next] telepathy-glib: cli-group test: don't leak GMainLoop

Simon McVittie smcv at kemper.freedesktop.org
Thu Mar 13 07:08:35 PDT 2014


Module: telepathy-glib
Branch: next
Commit: eb4a8b219e52d2c545a78c63b26bc7ad5f8f7c79
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=eb4a8b219e52d2c545a78c63b26bc7ad5f8f7c79

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Mon Mar 10 18:03:13 2014 +0000

cli-group test: don't leak GMainLoop

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76000
Reviewed-by: Guillaume Desmottes

---

 tests/dbus/cli-group.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/dbus/cli-group.c b/tests/dbus/cli-group.c
index d9cd1ed..cb7f299 100644
--- a/tests/dbus/cli-group.c
+++ b/tests/dbus/cli-group.c
@@ -135,6 +135,8 @@ test_channel_proxy (TpTestsTextChannelGroup *service_chan,
   tp_tests_channel_assert_expect_members (chan, expected_members);
 
   tp_intset_destroy (expected_members);
+
+  g_main_loop_unref (loop);
 }
 
 static void



More information about the telepathy-commits mailing list