mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +00:00
Memory leak.
* src/reader.c (reader): Free grammar.
This commit is contained in:
@@ -1867,4 +1867,7 @@ reader (void)
|
||||
|
||||
/* Convert the grammar into the format described in gram.h. */
|
||||
packgram ();
|
||||
|
||||
/* The grammar as a symbol_list is no longer needed. */
|
||||
LIST_FREE (symbol_list, grammar);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user