[evolution-data-server/gnome-2-32] Bug #633181 - Deadlock after moving some mails in maildir
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-32] Bug #633181 - Deadlock after moving some mails in maildir
- Date: Fri, 19 Nov 2010 08:52:06 +0000 (UTC)
commit b51c794af0fa4c443a59ee8239fcfdef327c7063
Author: Milan Crha <mcrha redhat com>
Date: Fri Nov 19 09:51:44 2010 +0100
Bug #633181 - Deadlock after moving some mails in maildir
camel/camel-folder-summary.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index d9cd871..6b460a9 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1275,8 +1275,10 @@ message_info_from_uid (CamelFolderSummary *s, const gchar *uid)
ret = camel_db_read_message_info_record_with_uid (
cdb, folder_name, uid, &data,
camel_read_mir_callback, NULL);
- if (ret != 0)
+ if (ret != 0) {
+ camel_folder_summary_unlock (s, CAMEL_FOLDER_SUMMARY_SUMMARY_LOCK);
return NULL;
+ }
/* We would have double reffed at camel_read_mir_callback */
info = g_hash_table_lookup (s->loaded_infos, uid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]