From 43f11a93385c4848bfad49510bdea2849f241816 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 8 Jan 2023 19:17:57 -0800 Subject: add some frees; still need to fix high amounts of memory leakage --- src/include/visitor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/visitor.h b/src/include/visitor.h index de73248..f055d99 100644 --- a/src/include/visitor.h +++ b/src/include/visitor.h @@ -27,4 +27,6 @@ ast_t *eval_list(visitor_t *v, ast_t *e); ast_t *eval_expr(visitor_t *v, ast_t *e); ast_t *eval(visitor_t *v); + +void visitor_free(visitor_t *v); #endif -- cgit