summaryrefslogtreecommitdiff
path: root/src/include/visitor.h
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-08 19:17:57 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-08 19:17:57 -0800
commit43f11a93385c4848bfad49510bdea2849f241816 (patch)
treeaafe396ad077acc6be6bef1d77a65d517cd30cf4 /src/include/visitor.h
parent19367a27472a06634424e56c1eb21e4f53da4e9e (diff)
add some frees; still need to fix high amounts of memory leakage
Diffstat (limited to 'src/include/visitor.h')
-rw-r--r--src/include/visitor.h2
1 files changed, 2 insertions, 0 deletions
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