[Telepathy-commits] [telepathy-salut/master] src/tube-stream.c: Do not unref the transport in the "new-connection" callback

Alban Crequy alban.crequy at collabora.co.uk
Tue Nov 25 03:59:43 PST 2008


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

diff --git a/src/tube-stream.c b/src/tube-stream.c
index 1cffeb8..46426f2 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -540,7 +540,6 @@ start_stream_direct (SalutTubeStream *self,
       g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR,
           "can't find contact with handle %d", priv->initiator);
 
-      g_object_unref (transport);
       g_object_unref (contact_mgr);
 
       return FALSE;
@@ -564,7 +563,6 @@ start_stream_direct (SalutTubeStream *self,
       /* Initiation failed. */
       gibber_bytestream_iface_close (bytestream, NULL);
 
-      g_object_unref (transport);
       g_object_unref (contact);
       g_object_unref (contact_mgr);
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list