aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeff Cai <jeff.cai@sun.com>2006-04-05 18:14:14 +0800
committerSimon Zheng <simonz@src.gnome.org>2006-04-05 18:14:14 +0800
commit76724ffb31dffad16af2b636e86e8984fa2534ca (patch)
tree666865fa022fe9cf98d7fd6319adbfa553d5a3d8 /mail
parentc81ee160b5a912e7d62c1be5064077be3106393c (diff)
downloadgsoc2013-evolution-76724ffb31dffad16af2b636e86e8984fa2534ca.tar
gsoc2013-evolution-76724ffb31dffad16af2b636e86e8984fa2534ca.tar.gz
gsoc2013-evolution-76724ffb31dffad16af2b636e86e8984fa2534ca.tar.bz2
gsoc2013-evolution-76724ffb31dffad16af2b636e86e8984fa2534ca.tar.lz
gsoc2013-evolution-76724ffb31dffad16af2b636e86e8984fa2534ca.tar.xz
gsoc2013-evolution-76724ffb31dffad16af2b636e86e8984fa2534ca.tar.zst
gsoc2013-evolution-76724ffb31dffad16af2b636e86e8984fa2534ca.zip
Fixes bug #333987 If CamelMessageInfo is null, don't free it.
2006-04-05 Jeff Cai <jeff.cai@sun.com> Fixes bug #333987 * message-list.c: (mail_folder_hide_by_flag): If CamelMessageInfo is null, don't free it. svn path=/trunk/; revision=31768
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/message-list.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 29d58a5fdb..3fa1c75c27 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-05 Jeff Cai <jeff.cai@sun.com>
+
+ Fixes bug #333987
+ * message-list.c: (mail_folder_hide_by_flag):
+ If CamelMessageInfo is null, don't free it.
+
2006-03-29 Parthasarathi Susarla <sparthasarathi@novell.com>
* em-folder-view.c:(smfv_setup_view_instance): use the
diff --git a/mail/message-list.c b/mail/message-list.c
index 610bc1e76c..a9796afc45 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2710,7 +2710,8 @@ mail_folder_hide_by_flag (CamelFolder *folder, MessageList *ml, CamelFolderChang
camel_folder_change_info_add_uid (newchanges, oldchanges->uid_changed->pdata[i]);
else
camel_folder_change_info_change_uid (newchanges, oldchanges->uid_changed->pdata[i]);
- camel_folder_free_message_info (folder, info);
+ if (info)
+ camel_folder_free_message_info (folder, info);
}
if (newchanges->uid_added->len > 0 || newchanges->uid_removed->len > 0) {