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 1309ca122229fe59ec42b10abe7bd75e9ff46285..1287a38cecdd8cb708c8b9a8d2cf52ab8828e380 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 82e08326a9fd4fce13fe007243b28a5dfb7abd97..19c5064a3d0ee17f2ea95f99db1656b613cf029f 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 612c7a53fc167d2a1a2a65269204479752a10ed7..222fc7aac3fb09f6842ceaaa711ab188d24562a2 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);