aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-08 23:14:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 16:28:40 +0800
commit0117b6e07afbe6b05add3baba61aae8d36093051 (patch)
treeaa0caf949a99b3bf9de9c244ffbd45333c7da291 /libempathy/empathy-contact-manager.c
parent6a74d80616929d756322a1cb61ab890d16c43e99 (diff)
downloadgsoc2013-empathy-0117b6e07afbe6b05add3baba61aae8d36093051.tar
gsoc2013-empathy-0117b6e07afbe6b05add3baba61aae8d36093051.tar.gz
gsoc2013-empathy-0117b6e07afbe6b05add3baba61aae8d36093051.tar.bz2
gsoc2013-empathy-0117b6e07afbe6b05add3baba61aae8d36093051.tar.lz
gsoc2013-empathy-0117b6e07afbe6b05add3baba61aae8d36093051.tar.xz
gsoc2013-empathy-0117b6e07afbe6b05add3baba61aae8d36093051.tar.zst
gsoc2013-empathy-0117b6e07afbe6b05add3baba61aae8d36093051.zip
Unref contact returned by empathy_contact_list_get_members
empathy_contact_list_get_members return a list of reffed contacts.
Diffstat (limited to 'libempathy/empathy-contact-manager.c')
-rw-r--r--libempathy/empathy-contact-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index a3f7575a3..23794e001 100644
--- a/libempathy/empathy-contact-manager.c
+++ b/libempathy/empathy-contact-manager.c
@@ -490,8 +490,9 @@ contact_manager_lookup_contact (EmpathyContactManager *manager,
if (!tp_strdiff (contact_id, id_cur) &&
!tp_strdiff (account_name, name_cur)) {
retval = contact;
- break;
}
+
+ g_object_unref (contact);
}
g_list_free (members);