aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-23 21:24:37 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-23 23:21:32 +0800
commitb87990d88e8a9291908d3be694db267835b5ab40 (patch)
tree7ecfd95df1f647024f9b530611e3df6753b51fd0 /src/empathy-call-window.c
parent354da6284f909aea471e12742a0c4bd6c3f9b470 (diff)
downloadgsoc2013-empathy-b87990d88e8a9291908d3be694db267835b5ab40.tar
gsoc2013-empathy-b87990d88e8a9291908d3be694db267835b5ab40.tar.gz
gsoc2013-empathy-b87990d88e8a9291908d3be694db267835b5ab40.tar.bz2
gsoc2013-empathy-b87990d88e8a9291908d3be694db267835b5ab40.tar.lz
gsoc2013-empathy-b87990d88e8a9291908d3be694db267835b5ab40.tar.xz
gsoc2013-empathy-b87990d88e8a9291908d3be694db267835b5ab40.tar.zst
gsoc2013-empathy-b87990d88e8a9291908d3be694db267835b5ab40.zip
call-window: don't leak the contact
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 97bc583ce..114ec940a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2370,10 +2370,7 @@ empathy_call_window_dispose (GObject *object)
g_source_remove (priv->timer_id);
priv->timer_id = 0;
- if (priv->contact != NULL)
- {
- priv->contact = NULL;
- }
+ tp_clear_object (&priv->contact);
G_OBJECT_CLASS (empathy_call_window_parent_class)->dispose (object);
}