From f7794d24f9b623338d897a83029e8732b1d932fd Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 21 Sep 2012 17:13:17 +0100 Subject: [PATCH] _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. --- src/mcd-channel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mcd-channel.c b/src/mcd-channel.c index 64d12a4..d40e275 100644 --- a/src/mcd-channel.c +++ b/src/mcd-channel.c @@ -1420,6 +1420,10 @@ mcd_channel_ready_to_depart_cb (TpChannel *channel, g_free (d->message); g_slice_free (DepartData, d); } + else + { + tp_channel_close_async (channel, NULL, NULL); + } } void -- 1.7.10.4