2009-08-23 [colin] 3.7.2cvs26

* src/mbox.c
		Probably fix RH bug 512024, " folder.c:3543
		Condition msglist != NULL failed"
This commit is contained in:
Colin Leroy 2009-08-23 12:16:17 +00:00
parent d01c8dd12e
commit 6dea851f5e
4 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2009-08-23 [colin] 3.7.2cvs26
* src/mbox.c
Probably fix RH bug 512024, " folder.c:3543
Condition msglist != NULL failed"
2009-08-23 [colin] 3.7.2cvs25
* src/prefs_compose_writing.c

View file

@ -3850,3 +3850,4 @@
( cvs diff -u -r 1.382.2.521 -r 1.382.2.522 src/compose.c; ) > 3.7.2cvs23.patchset
( cvs diff -u -r 1.382.2.522 -r 1.382.2.523 src/compose.c; ) > 3.7.2cvs24.patchset
( cvs diff -u -r 1.1.2.27 -r 1.1.2.28 src/prefs_compose_writing.c; ) > 3.7.2cvs25.patchset
( cvs diff -u -r 1.28.2.48 -r 1.28.2.49 src/mbox.c; ) > 3.7.2cvs26.patchset

View file

@ -12,7 +12,7 @@ MINOR_VERSION=7
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=25
EXTRA_VERSION=26
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=

View file

@ -279,10 +279,12 @@ gint proc_mbox(FolderItem *dest, const gchar *mbox, gboolean apply_filter,
}
unfiltered = g_slist_reverse(unfiltered);
folder_item_move_msgs(dest, unfiltered);
for (cur = unfiltered; cur; cur = g_slist_next(cur)) {
MsgInfo *info = (MsgInfo *)cur->data;
procmsg_msginfo_free(info);
if (unfiltered) {
folder_item_move_msgs(dest, unfiltered);
for (cur = unfiltered; cur; cur = g_slist_next(cur)) {
MsgInfo *info = (MsgInfo *)cur->data;
procmsg_msginfo_free(info);
}
}
g_slist_free(unfiltered);