* src/main.c (main): Invoke scanner_free.

This commit is contained in:
Akim Demaille
2002-06-14 17:37:12 +00:00
parent f958596b44
commit 4515534cd2
2 changed files with 9 additions and 0 deletions

View File

@@ -110,6 +110,10 @@ main (int argc, char *argv[])
free_nullable ();
free_derives ();
grammar_free ();
/* The scanner memory cannot be released right after parsing, as it
contains things such as user actions, prologue, epilogue etc. */
scanner_free ();
muscle_free ();
/* If using alloca.c, flush the alloca'ed memory for the benefit of
people running Bison as a library in IDEs. */