mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/main.c (main): Invoke scanner_free.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user