[next] telepathy-glib: account-request test: assert that TpDBusDaemon is not leaked

Simon McVittie smcv at kemper.freedesktop.org
Tue Mar 18 05:45:06 PDT 2014


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

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Mon Mar 17 15:42:34 2014 +0000

account-request test: assert that TpDBusDaemon is not leaked

---

 tests/dbus/account-request.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/dbus/account-request.c b/tests/dbus/account-request.c
index 83a5795..ca5705c 100644
--- a/tests/dbus/account-request.c
+++ b/tests/dbus/account-request.c
@@ -86,7 +86,7 @@ teardown (Test *test,
   tp_dbus_daemon_unregister_object (test->dbus, test->account_service);
   tp_tests_assert_last_unref (&test->account_service);
 
-  g_clear_object (&test->dbus);
+  tp_tests_assert_last_unref (&test->dbus);
   tp_clear_pointer (&test->mainloop, g_main_loop_unref);
 
   g_clear_error (&test->error);



More information about the telepathy-commits mailing list