[Telepathy-commits] [telepathy-salut/master] xmpp_connection_manager_connection_closed_cb: unref contact and contact manager

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Dec 23 02:43:03 PST 2008


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

diff --git a/src/tube-stream.c b/src/tube-stream.c
index a23d6a1..f4d2575 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -1125,6 +1125,9 @@ xmpp_connection_manager_connection_closed_cb (SalutXmppConnectionManager *mgr,
 
   g_signal_connect (priv->xmpp_connection_manager, "new-connection",
       G_CALLBACK (xmpp_connection_manager_new_connection_cb), self);
+
+  g_object_unref (contact);
+  g_object_unref (contact_mgr);
 }
 
 static void
-- 
1.5.6.5




More information about the Telepathy-commits mailing list