[Telepathy-commits] [telepathy-salut/master] tube-stream: contact_new_connection_cb: unref the bytestream as add_bytestream keep its own ref

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Mar 11 09:15:35 PDT 2009


---
 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 a281e36..c4e87f9 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -1894,6 +1894,7 @@ contact_new_connection_cb (GibberListener *listener,
   salut_tube_stream_add_bytestream (SALUT_TUBE_IFACE (self), bytestream);
   gibber_bytestream_direct_accept_socket (bytestream, transport);
 
+  g_object_unref (bytestream);
   g_object_unref (contact);
   g_object_unref (contact_mgr);
 }
-- 
1.5.6.5




More information about the telepathy-commits mailing list