diff options
author | Paul Smith <psmith@gnu.org> | 2006-02-14 15:42:17 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2006-02-14 15:42:17 +0000 |
commit | 86af3872a910e314d20ef911fad1819ad90c1291 (patch) | |
tree | ca807059149cdac8be7461efa747b41505b36513 /ChangeLog | |
parent | df267b31c5dbe4d9fe774c63acc31ef0b804f902 (diff) | |
download | gunmake-86af3872a910e314d20ef911fad1819ad90c1291.tar.gz |
Some memory leak cleanups (found with valgrind).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +2006-02-14 Paul D. Smith <psmith@gnu.org> + + * read.c (eval): Even if the included filenames expands to the + empty string we still need to free the allocated buffer. + + * implicit.c (pattern_search): If we allocated a variable set for + an impossible file, free it. + * variable.c (free_variable_set): New function. + * variable.h: Declare it. + + * read.c (read_all_makefiles): Makefile names are kept in the + strcache, so there's never any need to alloc/free them. + (eval): Ditto. + + * main.c (main): Add "archives" to the .FEATURES variable if + archive support is enabled. + * doc/make.texi (Special Variables): Document it. + 2006-02-13 Paul D. Smith <psmith@gnu.org> * implicit.c (pattern_search): Add checking for DOS pathnames to |