update: use updated parser api to fix memory leaks
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user