[Telepathy-commits] [telepathy-salut/master] CreateChannel fails if the sending of the ft offer failed
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri Nov 21 03:46:50 PST 2008
---
src/salut-ft-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/salut-ft-manager.c b/src/salut-ft-manager.c
index 1eef7c1..a29407e 100644
--- a/src/salut-ft-manager.c
+++ b/src/salut-ft-manager.c
@@ -429,7 +429,9 @@ salut_ft_manager_handle_request (TpChannelManager *manager,
if (!salut_file_transfer_channel_offer_file (chan, &error))
{
- /* FIXME */
+ /* Destroying the channel will emit the "closed" signal. */
+ g_object_unref (chan);
+ goto error;
}
requests = g_slist_prepend (requests, request_token);
--
1.5.6.5
More information about the Telepathy-commits
mailing list