see if freeing remaining headers (setting Show other headers turned off) plugs memleaks
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 4 Aug 2002 17:40:45 +0000 (17:40 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 4 Aug 2002 17:40:45 +0000 (17:40 +0000)
ChangeLog.claws
configure.in
src/textview.c

index 1309ca1..1287a38 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-04 [alfons]    0.8.1claws14
+
+       * src/textview.c
+               see if this plugs memleak
+
 2002-08-04 [melvin]    0.8.1claws13
 
        * src/gtkspell.c
index 82e0832..19c5064 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws13
+EXTRA_VERSION=claws14
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 612c7a5..222fc7a 100644 (file)
@@ -1298,6 +1298,11 @@ static GPtrArray *textview_scan_header(TextView *textview, FILE *fp)
                        header = g_ptr_array_index(headers, i);
                        g_ptr_array_add(sorted_headers, header);
                }
+       } else {
+               for (i = 0; i < headers->len; i++) {
+                       header = g_ptr_array_index(headers, i);
+                       procheader_header_free(header);
+               }
        }
 
        g_ptr_array_free(headers, FALSE);