diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-08 19:17:57 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-08 19:17:57 -0800 |
commit | 43f11a93385c4848bfad49510bdea2849f241816 (patch) | |
tree | aafe396ad077acc6be6bef1d77a65d517cd30cf4 /src/include | |
parent | 19367a27472a06634424e56c1eb21e4f53da4e9e (diff) |
add some frees; still need to fix high amounts of memory leakage
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/visitor.h | 2 |
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 |