2009-08-23 [colin] 3.7.2cvs26
authorColin Leroy <colin@colino.net>
Sun, 23 Aug 2009 12:16:17 +0000 (12:16 +0000)
committerColin Leroy <colin@colino.net>
Sun, 23 Aug 2009 12:16:17 +0000 (12:16 +0000)
* src/mbox.c
Probably fix RH bug 512024, " folder.c:3543
Condition msglist != NULL failed"

ChangeLog
PATCHSETS
configure.ac
src/mbox.c

index 27a7fb236a8a1575813179febda413868fffa9fd..f5f05b18042006c4d699eba5a2517806c0616a9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 014850af5dfd859d2ba622aaa3a129f23ba5ee3d..f17e2950710f7a111d247ff7a16dbd5e5acf4bdb 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index bd17c87b120b41136b945bfe62360acde955f5c9..50d187cf7cd9c7ebbee87b0772adfb3f49d2e82c 100644 (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=
 
index df326568eedf856c4893f31d476d6a58635d0f7f..339a0d47886d2b00197cdaed5996e5a9b285d08e 100644 (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);