From 9889dd911c0c2d56c735b8fcc44b89e1bf21c5a0 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 21 Sep 2012 17:13:17 +0100 Subject: [PATCH 1/3] _mcd_channel_depart: if it turns out not to implement GROUP, close it This is a long-standing bug (broken ever since the function was introduced in 5.2), but apparently nobody noticed. Signed-off-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55392 --- src/mcd-channel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mcd-channel.c b/src/mcd-channel.c index 1a185a5..4407803 100644 --- a/src/mcd-channel.c +++ b/src/mcd-channel.c @@ -1181,6 +1181,10 @@ mcd_channel_ready_to_depart_cb (GObject *source_object, g_free (d->message); g_slice_free (DepartData, d); } + else + { + tp_channel_close_async (channel, NULL, NULL); + } } void -- 1.7.10.4