[Telepathy-commits] [telepathy-salut/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 07:36:19 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 9407999..e59500b 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -511,6 +511,12 @@ start_stream_initiation (SalutTubeStream *self,
g_object_unref (contact);
}
+ if (!result)
+ {
+ g_object_unref (data->transport);
+ g_slice_free (struct _extra_bytestream_negotiate_cb_data, data);
+ }
+
g_object_unref (si_bytestream_mgr);
g_object_unref (contact_mgr);
g_object_unref (msg);
--
1.5.6.5
More information about the Telepathy-commits
mailing list