]> git.saurik.com Git - bison.git/commit
grammar: free the association tracking graph
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Thu, 31 Jan 2013 23:49:59 +0000 (00:49 +0100)
committerTheophile Ranquet <ranquet@lrde.epita.fr>
Fri, 1 Feb 2013 14:06:26 +0000 (15:06 +0100)
commitf038e56cdc211396f54f138e95693d0906d6fafa
tree770d440c2986ae8dbf4f5d2d2db696864947c381
parentf2e1d4090df5b14fb7fdf33407df4f2bc7c5b342
grammar: free the association tracking graph

The graph introduced by Valentin wasn't free'd after use.

* src/symtab.c (assoc_free): New, clear the array of linked lists with...
(linkedlist_free): This, new.
(print_precedence_warnings): Call assoc_free when done.
(print_assoc_warnings): Free used_assoc after use.
src/symtab.c