[Telepathy-commits] [telepathy-gabble/master] extra_bytestream_negotiate_cb: free the data structur if the bytestream was rejected

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Dec 15 07:21:33 PST 2008


---
 src/tube-stream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/tube-stream.c b/src/tube-stream.c
index c6915c0..e463282 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -413,6 +413,7 @@ extra_bytestream_negotiate_cb (GabbleBytestreamIface *bytestream,
       DEBUG ("initiator refused new bytestream");
 
       g_object_unref (data->transport);
+      g_slice_free (struct _extra_bytestream_negotiate_cb_data, data);
       return;
     }
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list