diff options
author | Milan Crha <mcrha@redhat.com> | 2011-09-26 15:58:45 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-09-26 15:58:45 +0800 |
commit | 8530a18ce7c059543f611fcd404539ebc33925b8 (patch) | |
tree | d2bd5076e2a146fdd77de588ca9c6cf827455345 /addressbook | |
parent | 633ee0e5689d716c18e7c71f04a79af6b2ba4e40 (diff) | |
download | gsoc2013-evolution-8530a18ce7c059543f611fcd404539ebc33925b8.tar gsoc2013-evolution-8530a18ce7c059543f611fcd404539ebc33925b8.tar.gz gsoc2013-evolution-8530a18ce7c059543f611fcd404539ebc33925b8.tar.bz2 gsoc2013-evolution-8530a18ce7c059543f611fcd404539ebc33925b8.tar.lz gsoc2013-evolution-8530a18ce7c059543f611fcd404539ebc33925b8.tar.xz gsoc2013-evolution-8530a18ce7c059543f611fcd404539ebc33925b8.tar.zst gsoc2013-evolution-8530a18ce7c059543f611fcd404539ebc33925b8.zip |
Invalid unref when merging contacts
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/gui/merging/eab-contact-merging.c | 3 |
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; |