X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5807bb9156930091850a52b5bb9ab9f89082b04e..bcd80897f3b414973fc34dc2ec57ce4df2e69253:/src/symlist.c diff --git a/src/symlist.c b/src/symlist.c index 196db4c8..300eeda8 100644 --- a/src/symlist.c +++ b/src/symlist.c @@ -119,6 +119,8 @@ symbol_list_free (symbol_list *list) { next = node->next; named_ref_free (node->named_ref); + if (node->content_type == SYMLIST_TYPE) + free (node->content.sem_type); free (node); } }