[Telepathy-commits] [telepathy-gabble/master] new_connection_to_socket: fix transport leak

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Dec 23 08:04:29 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 18c863d..89755a5 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -613,6 +613,7 @@ new_connection_to_socket (GabbleTubeStream *self,
   g_signal_connect (bytestream, "state-changed",
       G_CALLBACK (extra_bytestream_state_changed_cb), self);
 
+  g_object_unref (transport);
   return TRUE;
 }
 
-- 
1.5.6.5



More information about the Telepathy-commits mailing list