[evolution] Invalid unref when merging contacts
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Invalid unref when merging contacts
- Date: Mon, 26 Sep 2011 07:59:02 +0000 (UTC)
commit 8530a18ce7c059543f611fcd404539ebc33925b8
Author: Milan Crha <mcrha redhat com>
Date: Mon Sep 26 09:58:45 2011 +0200
Invalid unref when merging contacts
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 70e43fa..f791eab 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]