aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-18 03:55:42 +0800
committerDan Winship <danw@src.gnome.org>2000-06-18 03:55:42 +0800
commitb6225c748dd2ca4c32daad1b30b285508d14b3c4 (patch)
tree093ce6e4f4ad536a4d6ac2f72792cefa819c2e94
parent67936b0c77a2e534b381e80ff73675447d87ce48 (diff)
downloadgsoc2013-evolution-b6225c748dd2ca4c32daad1b30b285508d14b3c4.tar.gz
gsoc2013-evolution-b6225c748dd2ca4c32daad1b30b285508d14b3c4.tar.zst
gsoc2013-evolution-b6225c748dd2ca4c32daad1b30b285508d14b3c4.zip
Prevent double-freeing action on summary_table and uid_rowmap.
* message-list.c (message_list_set_folder): Prevent double-freeing action on summary_table and uid_rowmap. svn path=/trunk/; revision=3615
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a78169097e..9d87b56f9d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-17 Dan Winship <danw@helixcode.com>
+
+ * message-list.c (message_list_set_folder): Prevent double-freeing
+ action on summary_table and uid_rowmap.
+
2000-06-16 Dan Winship <danw@helixcode.com>
* message-list.c (ml_set_value_at): Implement clicking on the
diff --git a/mail/message-list.c b/mail/message-list.c
index 9b6de53d82..eab53cb772 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -928,11 +928,6 @@ message_list_set_folder (MessageList *message_list, CamelFolder *camel_folder)
message_list->matches = NULL;
}
- if (message_list->summary_table)
- camel_folder_free_summary(message_list->folder, message_list->summary_table);
- if (message_list->uid_rowmap)
- g_hash_table_destroy(message_list->uid_rowmap);
-
camel_exception_init (&ex);
if (message_list->folder)