]> git.saurik.com Git - bison.git/blobdiff - src/main.c
* src/main.c (main): Free `infile'.
[bison.git] / src / main.c
index 79cd950dbd6e2fdb2d18833086c37fcd23fee135..04957a2b8b84791901645284fc4abb1eda591031 100644 (file)
@@ -158,6 +158,8 @@ main (int argc, char *argv[])
   reduce_free ();
   conflicts_free ();
   grammar_free ();
+  /* FIXME: We are leaking all the other file names.  */
+  free (infile);
 
   /* The scanner memory cannot be released right after parsing, as it
      contains things such as user actions, prologue, epilogue etc.  */