[evolution] Bug 734530 - Use-after-free in Automatic Contacts on error
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 734530 - Use-after-free in Automatic Contacts on error
- Date: Mon, 1 Dec 2014 10:43:40 +0000 (UTC)
commit 4fe0f528bd062314f93ac53642669c540260229e
Author: Milan Crha <mcrha redhat com>
Date: Mon Dec 1 11:43:17 2014 +0100
Bug 734530 - Use-after-free in Automatic Contacts on error
plugins/bbdb/bbdb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index 201c77d..6987f39 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -354,8 +354,8 @@ bbdb_do_it (EBookClient *client,
NULL, &error);
if (error != NULL) {
- g_warning ("bbdb: Failed to get addressbook client : %s\n", error->message);
- g_error_free (error);
+ g_warning ("bbdb: Failed to get addressbook client: %s\n", error->message);
+ g_clear_error (&error);
aux_addressbooks = aux_addressbooks->next;
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]