projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53231c
)
Avoid possible GError memory leak
author
Milan Crha
<mcrha@redhat.com>
Wed, 6 Jun 2012 09:16:21 +0000
(11:16 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Wed, 6 Jun 2012 09:16:21 +0000
(11:16 +0200)
camel/camel-folder-summary.c
patch
|
blob
|
history
diff --git
a/camel/camel-folder-summary.c
b/camel/camel-folder-summary.c
index
67a2e0b
..
b8daf18
100644
(file)
--- a/
camel/camel-folder-summary.c
+++ b/
camel/camel-folder-summary.c
@@
-2340,7
+2340,9
@@
camel_folder_summary_load_from_db (CamelFolderSummary *summary,
summary->priv->uids, &local_error);
if (local_error != NULL && local_error->message != NULL &&
- strstr (local_error->message, "no such table") != NULL) {
+ strstr (local_error->message, "no such table") != NULL) {
+ g_clear_error (&local_error);
+
/* create table the first time it is accessed and missing */
ret = camel_db_prepare_message_info_table (cdb, full_name, error);
} else if (local_error != NULL)