From d7f9136cacbae73d62d59db7e369c56027b8d1ef Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 25 Feb 2010 23:40:11 +0530 Subject: [PATCH] Reverting fix for bug 610073 --- camel/camel-folder-summary.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.7.4