From fda12dbd7f481a09a160c21fcf840af4ebaa2201 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Tue, 3 Feb 2009 09:03:51 +0000 Subject: Also unref the tf channel Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2401 --- libempathy/empathy-call-handler.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c index 449891825..a6117cd19 100644 --- a/libempathy/empathy-call-handler.c +++ b/libempathy/empathy-call-handler.c @@ -189,7 +189,13 @@ empathy_call_handler_dispose (GObject *object) if (priv->contact != NULL) g_object_unref (priv->contact); - /* FIXME close the call ? */ + priv->contact = NULL; + + if (priv->tfchannel != NULL) + g_object_unref (priv->tfchannel); + + priv->tfchannel = NULL; + if (priv->call != NULL) { empathy_tp_call_close (priv->call); -- cgit v1.2.3