summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-08-18 19:01:46 +0000
committerRoland McGrath <roland@redhat.com>1993-08-18 19:01:46 +0000
commit8171a9ba6ed39f2e305f20091f75249f26e9b5bc (patch)
treede665fb63cb980ef220cda3a9252ce6df3cc8587
parent87886901927b28a5aa2eabdeffaafcf09126a543 (diff)
downloadgunmake-8171a9ba6ed39f2e305f20091f75249f26e9b5bc.tar.gz
Formerly read.c.~67~
-rw-r--r--read.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/read.c b/read.c
index 2d26f24..21dc538 100644
--- a/read.c
+++ b/read.c
@@ -552,6 +552,12 @@ read_makefile (filename, flags)
| (noerror ? RM_DONTCARE : 0)));
}
+ /* Free any space allocated by conditional_line. */
+ if (conditionals->ignoring)
+ free (conditionals->ignoring);
+ if (conditionals->seen_else)
+ free (conditionals->seen_else);
+
/* Restore state. */
conditionals = save;
reading_filename = filename;