]> git.0d.be Git - empathy.git/commitdiff
Also unref the tf channel
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 3 Feb 2009 09:03:51 +0000 (09:03 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 3 Feb 2009 09:03:51 +0000 (09:03 +0000)
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2401

libempathy/empathy-call-handler.c

index 44989182521a027e1b00fdd183c63e52838fb442..a6117cd1930976f552943abe81767132bfda7fc4 100644 (file)
@@ -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);