From 9bb2a488ee220a46fb109788ecb96b534e443377 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 30 Apr 2012 15:56:10 +0200 Subject: [PATCH] test_supports_tube: don't leak the classes array https://bugs.freedesktop.org/show_bug.cgi?id=30422 --- tests/capabilities.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tests/capabilities.c b/tests/capabilities.c index e61c8dd..4ff7abd 100644 --- a/tests/capabilities.c +++ b/tests/capabilities.c @@ -444,6 +444,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, -- 1.7.7.6