Memory leak.

* src/LR0.c (new_itemsets): Don't allocate `shift_symbol' here,
since it allocates it for each state, although only one is needed.
(allocate_storage): Do it here.
This commit is contained in:
Akim Demaille
2001-12-29 14:21:23 +00:00
parent f51cb8ff8c
commit 375d580671
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
2001-12-29 Akim Demaille <akim@epita.fr>
Memory leak.
* src/LR0.c (new_itemsets): Don't allocate `shift_symbol' here,
since it allocates it for each state, although only one is needed.
(allocate_storage): Do it here.
2001-12-29 Akim Demaille <akim@epita.fr>
* src/options.h, src/options.c (create_long_option_table): Rename