fix: free hash_map for variables at end of program

This commit is contained in:
Matteo Flebus 2026-01-21 15:14:22 +01:00
parent b5b40f303c
commit 7e413547e1

View file

@ -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)