Formerly read.c.~67~
authorRoland McGrath <roland@redhat.com>
Wed, 18 Aug 1993 19:01:46 +0000 (19:01 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 18 Aug 1993 19:01:46 +0000 (19:01 +0000)
read.c

diff --git a/read.c b/read.c
index 2d26f24..21dc538 100644 (file)
--- 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;