update: use updated parser api to fix memory leaks

This commit is contained in:
2025-04-17 23:16:16 +01:00
parent 25c1fbd44b
commit 78817b6b8c
2 changed files with 6 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ static void repl_destroy(struct repl *repl)
}
if (repl->r_parse) {
ivy_parser_destroy(repl->r_parse);
ivy_parser_destroy(repl->r_parse, NULL);
}
if (repl->r_lex) {