summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-02-14 15:42:17 +0000
committerPaul Smith <psmith@gnu.org>2006-02-14 15:42:17 +0000
commit86af3872a910e314d20ef911fad1819ad90c1291 (patch)
treeca807059149cdac8be7461efa747b41505b36513 /ChangeLog
parentdf267b31c5dbe4d9fe774c63acc31ef0b804f902 (diff)
downloadgunmake-86af3872a910e314d20ef911fad1819ad90c1291.tar.gz
Some memory leak cleanups (found with valgrind).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 52f7340..24732d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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