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

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Dec 23 07:13:15 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 cb4524c..b7fc31b 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -684,6 +684,7 @@ new_connection_to_socket (SalutTubeStream *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