summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-07-16 22:28:46 +0000
committerPaul Smith <psmith@gnu.org>1999-07-16 22:28:46 +0000
commit826ab14b26b33f83a6b2f08660670569fd083a4e (patch)
tree52637452c6bb6a5b4fbb2fe49560abccb61e90aa /read.c
parenta3cf773e296968870eaa76d45323690d14d9b44e (diff)
downloadgunmake-826ab14b26b33f83a6b2f08660670569fd083a4e.tar.gz
* Fix some memory and file descriptor leaks.
Diffstat (limited to 'read.c')
-rw-r--r--read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/read.c b/read.c
index 4ac9745..0a39ef6 100644
--- a/read.c
+++ b/read.c
@@ -396,6 +396,7 @@ read_makefile (filename, flags)
attempt, rather from FILENAME itself. Restore it in case the
caller wants to use it in a message. */
errno = makefile_errno;
+ free (commands);
return 0;
}