From: Sjoerd Simons Date: Tue, 3 Feb 2009 09:03:51 +0000 (+0000) Subject: Also unref the tf channel X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=fda12dbd7f481a09a160c21fcf840af4ebaa2201 Also unref the tf channel Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2401 --- diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c index 44989182..a6117cd1 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);