summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-10-14 14:10:28 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-10-14 14:10:28 +0100
commit4491d8bc77332748414de0807b2e4e2fb4882cab (patch)
tree6ccba6ad4a246a72f1512954ed2ea66633ec0a4f
parentfab2a851d8fea0da4a8202984d7a9cd74f430d64 (diff)
downloadtelepathy-glib-4491d8bc77332748414de0807b2e4e2fb4882cab.tar.gz
test-channel-introspect: plug a leak
fea8294 introduced this pretty obvious leak.
-rw-r--r--tests/dbus/channel-introspect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dbus/channel-introspect.c b/tests/dbus/channel-introspect.c
index 5ec471daf..0a7433b48 100644
--- a/tests/dbus/channel-introspect.c
+++ b/tests/dbus/channel-introspect.c
@@ -759,6 +759,9 @@ main (int argc,
g_hash_table_unref (asv);
+ g_clear_object (&chan2);
+ g_clear_object (&conn2);
+
/* ... keep the same channel for the next test */
g_message ("Channel already dead, so we are called back synchronously");