[Telepathy-commits] [telepathy-salut/master] file-transfer-channel: unref the GibberFileTransfer when disposing
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Nov 12 08:35:34 PST 2008
---
src/salut-file-transfer-channel.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/salut-file-transfer-channel.c b/src/salut-file-transfer-channel.c
index d9eb2dc..6c75578 100644
--- a/src/salut-file-transfer-channel.c
+++ b/src/salut-file-transfer-channel.c
@@ -753,6 +753,12 @@ salut_file_transfer_channel_dispose (GObject *object)
self->priv->xmpp_connection = NULL;
}
+ if (self->priv->ft != NULL)
+ {
+ g_object_unref (self->priv->ft);
+ self->priv->ft = NULL;
+ }
+
/* release any references held by the object here */
if (G_OBJECT_CLASS (salut_file_transfer_channel_parent_class)->dispose)
--
1.5.6.5
More information about the Telepathy-commits
mailing list