diff --git a/src/main.c b/src/main.c index 1f0fc93..1b86854 100644 --- a/src/main.c +++ b/src/main.c @@ -72,6 +72,7 @@ static int main_loop(struct lexer_context *ctx, struct args_options *options, ast_free(&command_ast); parser_close(); hash_map_free(&vars); + destroy_lexer_context(ctx); return return_code; }