[next] telepathy-glib: account-request test: assert that service-side objects are not leaked
Simon McVittie
smcv at kemper.freedesktop.org
Tue Mar 18 05:45:06 PDT 2014
Module: telepathy-glib
Branch: next
Commit: 780f39cd1d5861b9272aeb1ee75baf9a843d7ea3
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=780f39cd1d5861b9272aeb1ee75baf9a843d7ea3
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Mon Mar 17 15:40:45 2014 +0000
account-request test: assert that service-side objects are not leaked
---
tests/dbus/account-request.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/dbus/account-request.c b/tests/dbus/account-request.c
index 0f83eeb..ac4c3a1 100644
--- a/tests/dbus/account-request.c
+++ b/tests/dbus/account-request.c
@@ -85,10 +85,10 @@ teardown (Test *test,
&test->error);
g_assert_no_error (test->error);
tp_dbus_daemon_unregister_object (test->dbus, test->am);
- g_clear_object (&test->am);
+ tp_tests_assert_last_unref (&test->am);
tp_dbus_daemon_unregister_object (test->dbus, test->account_service);
- g_clear_object (&test->account_service);
+ tp_tests_assert_last_unref (&test->account_service);
g_clear_object (&test->dbus);
tp_clear_pointer (&test->mainloop, g_main_loop_unref);
More information about the telepathy-commits
mailing list