summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2010-02-25 23:40:11 +0530
committerChenthill Palanisamy <pchenthill@novell.com>2010-02-25 23:40:39 +0530
commitd7f9136cacbae73d62d59db7e369c56027b8d1ef (patch)
tree82ecd0c99779ea2dc177a3369596188a53453fee
parentc1f0d8ca12fe6c5d0e1ab3d9155c6ea5d7e4b8a2 (diff)
downloadevolution-data-server-d7f9136cacbae73d62d59db7e369c56027b8d1ef.tar.gz
Reverting fix for bug 610073
-rw-r--r--camel/camel-folder-summary.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 7878efdb8..49586e064 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;