fix: free hash_map for variables at end of program
This commit is contained in:
parent
b5b40f303c
commit
7e413547e1
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
destroy_lexer_context(&ctx);
|
destroy_lexer_context(&ctx);
|
||||||
|
|
||||||
|
hash_map_free(&vars);
|
||||||
|
|
||||||
ast_free(&command_ast);
|
ast_free(&command_ast);
|
||||||
|
|
||||||
if (command_ast == NULL)
|
if (command_ast == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue