fix a leak introduced in claws24 - sorry
authorColin Leroy <colin@colino.net>
Fri, 31 Jan 2003 11:23:54 +0000 (11:23 +0000)
committerColin Leroy <colin@colino.net>
Fri, 31 Jan 2003 11:23:54 +0000 (11:23 +0000)
ChangeLog.claws
configure.ac
src/summaryview.c

index 7b8115a..a58ad6a 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-31 [colin]     0.8.9claws26
+
+       * src/summaryview.c
+               Fix a leak introduced in claws24
+
 2003-01-31 [colin]     0.8.9claws25
 
        * src/summaryview.c
index cb3e405..3c99c72 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws25
+EXTRA_VERSION=claws26
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 9e0cae0..96aaa91 100644 (file)
@@ -1089,6 +1089,7 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item)
 
        /* set ctree and hash table from the msginfo list
           creating thread, and count the number of messages */
+       
        summary_set_ctree_from_list(summaryview, mlist);
 
        g_slist_free(mlist);
@@ -2263,7 +2264,7 @@ static void summary_set_ctree_from_list(SummaryView *summaryview,
                summary_thread_init(summaryview);
        } else {
                gchar *text[N_SUMMARY_COLS];
-
+               cur = mlist;
                for (; mlist != NULL; mlist = mlist->next) {
                        msginfo = (MsgInfo *)mlist->data;
 
@@ -2283,6 +2284,7 @@ static void summary_set_ctree_from_list(SummaryView *summaryview,
                                             msginfo->subject,
                                             node);
                }
+               mlist = cur;
        }
 
        if (prefs_common.enable_hscrollbar &&