aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-call-handler.c8
1 files changed, 7 insertions, 1 deletions
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);