[Telepathy-commits] [telepathy-gabble/master] start_stream_initiation: free data if salut_si_bytestream_manager_negotiate_stream failed
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Dec 17 08:07:05 PST 2008
---
src/tube-stream.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/tube-stream.c b/src/tube-stream.c
index 4a860f7..8953cb3 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -517,6 +517,12 @@ start_stream_initiation (GabbleTubeStream *self,
data,
error);
+ if (!result)
+ {
+ g_object_unref (data->transport);
+ g_slice_free (struct _extra_bytestream_negotiate_cb_data, data);
+ }
+
lm_message_unref (msg);
g_free (stream_id);
g_free (full_jid);
--
1.5.6.5
More information about the Telepathy-commits
mailing list