[Telepathy-commits] [telepathy-salut/master] salut_tube_stream_dispose: free the xmpp connection mgr
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Dec 23 04:19:46 PST 2008
---
src/tube-stream.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/tube-stream.c b/src/tube-stream.c
index dfb5925..cb4524c 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -911,6 +911,12 @@ salut_tube_stream_dispose (GObject *object)
priv->iq_helper = NULL;
}
+ if (priv->xmpp_connection_manager != NULL)
+ {
+ g_object_unref (priv->xmpp_connection_manager);
+ priv->xmpp_connection_manager = NULL;
+ }
+
priv->dispose_has_run = TRUE;
if (G_OBJECT_CLASS (salut_tube_stream_parent_class)->dispose)
--
1.5.6.5
More information about the Telepathy-commits
mailing list