X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/23d13411c85d3a8705f9507219f61eddea57a218..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); } }