[next] telepathy-glib: account-request test: don't leak account manager
Simon McVittie
smcv at kemper.freedesktop.org
Tue Mar 18 05:45:05 PDT 2014
Module: telepathy-glib
Branch: next
Commit: 6810c4a561ed01c28f7cf7ad594c363755421153
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=6810c4a561ed01c28f7cf7ad594c363755421153
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu Mar 13 17:48:56 2014 +0000
account-request test: don't leak account manager
---
tests/dbus/account-request.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/dbus/account-request.c b/tests/dbus/account-request.c
index 2d9167c..23aee75 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);
More information about the telepathy-commits
mailing list