2007-09-28 [colin] 3.0.1cvs38

* src/folder.c
		Fix bug 1337, 'crash on pressing Send button'
This commit is contained in:
Colin Leroy 2007-09-28 10:56:57 +00:00
parent 0c461b6087
commit 9174a92065
4 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2007-09-28 [colin] 3.0.1cvs38
* src/folder.c
Fix bug 1337, 'crash on pressing Send button'
2007-09-28 [paul] 3.0.1cvs37
* src/prefs_folder_item.c

View file

@ -2901,3 +2901,4 @@
( cvs diff -u -r 1.1.2.77 -r 1.1.2.78 src/gtk/quicksearch.c; ) > 3.0.1cvs35.patchset
( cvs diff -u -r 1.1.2.11 -r 1.1.2.12 src/prefs_folder_column.c; cvs diff -u -r 1.10.2.20 -r 1.10.2.21 src/prefs_summary_column.c; ) > 3.0.1cvs36.patchset
( cvs diff -u -r 1.52.2.51 -r 1.52.2.52 src/prefs_folder_item.c; ) > 3.0.1cvs37.patchset
( cvs diff -u -r 1.213.2.163 -r 1.213.2.164 src/folder.c; ) > 3.0.1cvs38.patchset

View file

@ -11,7 +11,7 @@ MINOR_VERSION=0
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=37
EXTRA_VERSION=38
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=

View file

@ -3479,7 +3479,7 @@ gint folder_item_remove_msg(FolderItem *item, gint num)
if (!item->cache) folder_item_read_cache(item);
msginfo = msgcache_get_msg(item->cache, num);
if (MSG_IS_LOCKED(msginfo->flags)) {
if (msginfo && MSG_IS_LOCKED(msginfo->flags)) {
procmsg_msginfo_free(msginfo);
return -1;
}
@ -3515,7 +3515,7 @@ gint folder_item_remove_msgs(FolderItem *item, GSList *msglist)
}
while (ret == 0 && msglist != NULL) {
MsgInfo *msginfo = (MsgInfo *)msglist->data;
if (MSG_IS_LOCKED(msginfo->flags)) {
if (msginfo && MSG_IS_LOCKED(msginfo->flags)) {
msglist = msglist->next;
continue;
}