fix: fix parser/generator issues
This commit is contained in:
@@ -33,7 +33,7 @@ void fzl_freetoken(fzl_token_t *tok)
|
||||
if (!tok)
|
||||
return;
|
||||
|
||||
if (tok->store_value)
|
||||
if (tok->store_value && tok->value)
|
||||
free(tok->value);
|
||||
|
||||
free(tok);
|
||||
|
||||
Reference in New Issue
Block a user