aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-26 15:58:45 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-26 18:56:07 +0800
commite347044d3a103aef95cae756d20732efe545f5f9 (patch)
tree05e258c552c44bbc088392ad3ff25f0aeab12c42 /addressbook/gui
parent1d9a40effb99191a597d3ab46d8457c168d63eb6 (diff)
downloadgsoc2013-evolution-e347044d3a103aef95cae756d20732efe545f5f9.tar
gsoc2013-evolution-e347044d3a103aef95cae756d20732efe545f5f9.tar.gz
gsoc2013-evolution-e347044d3a103aef95cae756d20732efe545f5f9.tar.bz2
gsoc2013-evolution-e347044d3a103aef95cae756d20732efe545f5f9.tar.lz
gsoc2013-evolution-e347044d3a103aef95cae756d20732efe545f5f9.tar.xz
gsoc2013-evolution-e347044d3a103aef95cae756d20732efe545f5f9.tar.zst
gsoc2013-evolution-e347044d3a103aef95cae756d20732efe545f5f9.zip
Invalid unref when merging contacts
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/merging/eab-contact-merging.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/merging/eab-contact-merging.c b/addressbook/gui/merging/eab-contact-merging.c
index 70e43fa284..f791eab114 100644
--- a/addressbook/gui/merging/eab-contact-merging.c
+++ b/addressbook/gui/merging/eab-contact-merging.c
@@ -464,7 +464,8 @@ mergeit (EContactMergingLookup *lookup)
switch (result) {
case GTK_RESPONSE_OK:
- lookup->contact = lookup->match;
+ g_object_unref (lookup->contact);
+ lookup->contact = g_object_ref (lookup->match);
e_book_client_remove_contact (lookup->book_client, lookup->match, NULL, remove_contact_ready_cb, lookup);
value = 1;
break;