summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-17 15:42:34 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-18 11:53:38 +0000
commit44104e4c1427a9726a0d759bc0385b2e93a5d1ae (patch)
tree982feaa7a0d05f058ebb550c2e3ddf4f07a6b118
parent82a9e4fda51587f3ea260de447cbb9cc15306694 (diff)
downloadtelepathy-glib-44104e4c1427a9726a0d759bc0385b2e93a5d1ae.tar.gz
account-request test: assert that TpDBusDaemon is not leaked
-rw-r--r--tests/dbus/account-request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbus/account-request.c b/tests/dbus/account-request.c
index 83a5795d5..ca5705c3a 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);