X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3e6656f9ab66ae7e629f8e5d5b41810bf070f09d..b25d88f6d2e2f4b59927aacecdc0a9e44a34b5d9:/src/main.c diff --git a/src/main.c b/src/main.c index f86bfda9..ce470f3a 100644 --- a/src/main.c +++ b/src/main.c @@ -55,6 +55,8 @@ main (int argc, char *argv[]) (void) bindtextdomain (PACKAGE, LOCALEDIR); (void) textdomain (PACKAGE); + struniqs_new (); + getargs (argc, argv); time_report = trace_flag & trace_time; @@ -64,7 +66,6 @@ main (int argc, char *argv[]) if (trace_flag & trace_bitsets) bitset_stats_enable (); - struniqs_new (); muscle_init (); /* Read the input. Copy some parts of it to FGUARD, FACTION, FTABLE @@ -160,8 +161,6 @@ 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. */