[evolution-data-server] Reverting fix for bug 610073



commit d7f9136cacbae73d62d59db7e369c56027b8d1ef
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Thu Feb 25 23:40:11 2010 +0530

    Reverting fix for bug 610073

 camel/camel-folder-summary.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 7878efd..49586e0 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -784,6 +784,10 @@ remove_item (gchar *key, CamelMessageInfoBase *info, CamelFolderSummary *s)
 	CAMEL_SUMMARY_LOCK(info->summary, ref_lock);
 	if (info->refcount == 1 && !info->dirty && !(info->flags & CAMEL_MESSAGE_FOLDER_FLAGGED)) {
 		CAMEL_SUMMARY_UNLOCK(info->summary, ref_lock);
+		/* Hackit so that hashtable isn;t corrupted. */
+		/* FIXME: These uid strings are not yet freed. We should get this done soon. */
+		camel_pstring_free (info->uid);
+		info->uid = NULL;
 		/* Noone seems to need it. Why not free it then. */
 		camel_message_info_free (info);
 		return TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]