fixed segfault in src/scoring.c
authorChristoph Hohmann <reboot@gmx.ch>
Wed, 25 Jul 2001 17:27:20 +0000 (17:27 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Wed, 25 Jul 2001 17:27:20 +0000 (17:27 +0000)
ChangeLog.claws
src/scoring.c

index 7bce9567d37fb3481ca8e4612fde452661c7f245..031757d214d4f72f76cba81d0a7029fc95d6ecb5 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-25 [christoph]
+
+       * src/scoring.c
+               fixed segfault
+               item->prefs == NULL (don't know why)
+
 2001-07-25 [alfons]
 
        * configure.in
@@ -5,6 +11,21 @@
 
        * sync with Sylpheed 0.5.1cvs1-3
 
+2001-07-24 [christoph]
+
+       * src/folderview.c
+       * src/prefs_folder_item.[ch]
+               added folderitem preferences dialog with
+               default To: and auto request return receipt
+
+       * src/compose.[ch]
+       * src/menu.[ch]
+               changes to handle new folderitem preferences
+
+       * src/mainwindow.c
+       * src/summaryview.c
+               call compose new mail with current folderitem
+
 2001-07-24 [alfons]
 
        Release Sylpheed 0.5.1claws
                updated translation
                (submitted by Ricardo Mones Lastra <mones@trasgu.aic.uniovi.es>)
 
-       * src/folderview.c
-       * src/prefs_folder_item.[ch]
-               added folderitem preferences dialog with
-               default To: and auto request return receipt
-
-       * src/compose.[ch]
-       * src/menu.[ch]
-               changes to handle new folderitem preferences
-
-       * src/mainwindow.c
-       * src/summaryview.c
-               call compose new mail with current folderitem
-
 2001-07-22 [alfons]
 
        add English User Manual for Sylpheed by Paul Kater (paul@nlpagan.net).
index 9ff0ee949c88c3d8008020cc629ffd210d242810..4f7ea3defadc3edb27b3f627092d1ee800133621 100644 (file)
@@ -259,6 +259,9 @@ static gboolean prefs_scoring_free_func(GNode *node, gpointer data)
 {
        FolderItem *item = node->data;
 
+       if(!item->prefs)
+               return FALSE;
+
        prefs_scoring_free(item->prefs->scoring);
        item->prefs->scoring = NULL;