summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-13 17:48:56 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-17 15:43:53 +0000
commit6810c4a561ed01c28f7cf7ad594c363755421153 (patch)
tree588c230eb176c9382e3a8c3f9b7eddd8dbdf5ed7
parentb346b409d28733de2dfbc77305553cc225b1ef0f (diff)
account-request test: don't leak account manager
-rw-r--r--tests/dbus/account-request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dbus/account-request.c b/tests/dbus/account-request.c
index 2d9167c1e..23aee7529 100644
--- a/tests/dbus/account-request.c
+++ b/tests/dbus/account-request.c
@@ -69,6 +69,7 @@ teardown (Test *test,
gconstpointer data G_GNUC_UNUSED)
{
g_clear_object (&test->account);
+ g_clear_object (&test->account_manager);
tp_dbus_daemon_release_name (test->dbus, TP_ACCOUNT_MANAGER_BUS_NAME,
&test->error);