From f91d2b3a161835322f6eed42aaa2d2777a1979fc Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 21 Sep 2012 17:13:17 +0100 Subject: [PATCH 1/6] _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 cba836c..b6b152e 100644 --- a/src/mcd-channel.c +++ b/src/mcd-channel.c @@ -1180,6 +1180,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.8.4.rc3