diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-28 02:20:24 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-28 02:20:24 +0800 |
commit | 56bec26a07bc1041f5a01726b875ac1f40baaa49 (patch) | |
tree | 5b1f5538557499a68f4e0b58c15bd890e0b3ea23 /addressbook/gui | |
parent | 06fbffd868b8220f51e091f13855a2bc7f42bd24 (diff) | |
download | gsoc2013-evolution-56bec26a07bc1041f5a01726b875ac1f40baaa49.tar.gz gsoc2013-evolution-56bec26a07bc1041f5a01726b875ac1f40baaa49.tar.zst gsoc2013-evolution-56bec26a07bc1041f5a01726b875ac1f40baaa49.zip |
Bug #640707 - Crash on 'Add to address book'->'Edit full' click
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 2 | ||||
-rw-r--r-- | addressbook/gui/merging/eab-contact-compare.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index 4ddca1b003..c0c424cc23 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -196,8 +196,6 @@ editor_closed_cb (GtkWidget *w, gpointer closure) if (qa) /* We don't need to unref qa because we set_data_full below */ g_object_set_data (G_OBJECT (w), "quick_add", NULL); - - g_object_unref (w); } static void diff --git a/addressbook/gui/merging/eab-contact-compare.c b/addressbook/gui/merging/eab-contact-compare.c index db92649f6d..398a94832b 100644 --- a/addressbook/gui/merging/eab-contact-compare.c +++ b/addressbook/gui/merging/eab-contact-compare.c @@ -763,7 +763,7 @@ eab_contact_locate_match_full (EBook *book, g_return_if_fail (E_IS_CONTACT (contact)); g_return_if_fail (cb != NULL); - info = g_new (MatchSearchInfo, 1); + info = g_new0 (MatchSearchInfo, 1); info->contact = g_object_ref (contact); info->cb = cb; info->closure = closure; |