diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-17 15:40:45 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-18 11:53:38 +0000 |
commit | 780f39cd1d5861b9272aeb1ee75baf9a843d7ea3 (patch) | |
tree | 6d5bc4881a6d34adbd0630c259155a463b03513e | |
parent | 0e1dd195bfd543ab543586a863ac7c459be0be53 (diff) |
account-request test: assert that service-side objects are not leaked
-rw-r--r-- | tests/dbus/account-request.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dbus/account-request.c b/tests/dbus/account-request.c index 0f83eeb8e..ac4c3a16e 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); |