summaryrefslogtreecommitdiff
path: root/tests/capabilities.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-30 15:56:10 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-02 15:26:02 +0200
commit103bea9443286ba589a636a240f1ead028c7bf66 (patch)
tree08207e99752dce6c5e96306b55aa84cdd92ec10c /tests/capabilities.c
parent1c43047cafffec3aedd5a73655d07773fd97262a (diff)
downloadtelepathy-glib-103bea9443286ba589a636a240f1ead028c7bf66.tar.gz
test_supports_tube: don't leak the classes array
https://bugs.freedesktop.org/show_bug.cgi?id=30422
Diffstat (limited to 'tests/capabilities.c')
-rw-r--r--tests/capabilities.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/capabilities.c b/tests/capabilities.c
index ad108f50f..c4e04765f 100644
--- a/tests/capabilities.c
+++ b/tests/capabilities.c
@@ -448,6 +448,9 @@ test_supports_tube (Test *test,
"contact-specific", FALSE,
NULL);
+ g_boxed_free (TP_ARRAY_TYPE_REQUESTABLE_CHANNEL_CLASS_LIST,
+ classes);
+
g_assert (tp_capabilities_supports_stream_tubes (caps, TP_HANDLE_TYPE_CONTACT,
NULL));
g_assert (!tp_capabilities_supports_stream_tubes (caps, TP_HANDLE_TYPE_ROOM,