empathy r2401 - trunk/libempathy



Author: xclaesse
Date: Tue Feb  3 09:03:51 2009
New Revision: 2401
URL: http://svn.gnome.org/viewvc/empathy?rev=2401&view=rev

Log:
Also unref the tf channel

Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>

Modified:
   trunk/libempathy/empathy-call-handler.c

Modified: trunk/libempathy/empathy-call-handler.c
==============================================================================
--- trunk/libempathy/empathy-call-handler.c	(original)
+++ trunk/libempathy/empathy-call-handler.c	Tue Feb  3 09:03:51 2009
@@ -189,7 +189,13 @@
   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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]