aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-23 21:37:11 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-23 23:21:32 +0800
commitbdebda58a42501f6c4c6f8e0692239662827aba1 (patch)
tree363038bb3f39f3730727b49ad28969f1ef10ee7c
parentf1ec59d5dadee9765977dbacee888f51e3b8a415 (diff)
downloadgsoc2013-empathy-bdebda58a42501f6c4c6f8e0692239662827aba1.tar
gsoc2013-empathy-bdebda58a42501f6c4c6f8e0692239662827aba1.tar.gz
gsoc2013-empathy-bdebda58a42501f6c4c6f8e0692239662827aba1.tar.bz2
gsoc2013-empathy-bdebda58a42501f6c4c6f8e0692239662827aba1.tar.lz
gsoc2013-empathy-bdebda58a42501f6c4c6f8e0692239662827aba1.tar.xz
gsoc2013-empathy-bdebda58a42501f6c4c6f8e0692239662827aba1.tar.zst
gsoc2013-empathy-bdebda58a42501f6c4c6f8e0692239662827aba1.zip
call: don't leak the contact
-rw-r--r--src/empathy-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 45623fcd2..207f32f25 100644
--- a/src/empathy-call.c
+++ b/src/empathy-call.c
@@ -119,7 +119,7 @@ new_call_handler_cb (EmpathyCallFactory *factory,
DEBUG ("Show the call window");
- g_object_get (handler, "target-contact", &contact, NULL);
+ contact = empathy_call_handler_get_contact (handler);
window = g_hash_table_lookup (call_windows, contact);