diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-02-03 17:03:51 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-02-03 17:03:51 +0800 |
commit | fda12dbd7f481a09a160c21fcf840af4ebaa2201 (patch) | |
tree | 37af54b08dbd83c5f56055ea7b029a2e93799f82 | |
parent | 040bdefb958b459b8f42aaa7ee39a2a73f9e287a (diff) | |
download | gsoc2013-empathy-fda12dbd7f481a09a160c21fcf840af4ebaa2201.tar gsoc2013-empathy-fda12dbd7f481a09a160c21fcf840af4ebaa2201.tar.gz gsoc2013-empathy-fda12dbd7f481a09a160c21fcf840af4ebaa2201.tar.bz2 gsoc2013-empathy-fda12dbd7f481a09a160c21fcf840af4ebaa2201.tar.lz gsoc2013-empathy-fda12dbd7f481a09a160c21fcf840af4ebaa2201.tar.xz gsoc2013-empathy-fda12dbd7f481a09a160c21fcf840af4ebaa2201.tar.zst gsoc2013-empathy-fda12dbd7f481a09a160c21fcf840af4ebaa2201.zip |
Also unref the tf channel
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2401
-rw-r--r-- | libempathy/empathy-call-handler.c | 8 |
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); |