aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-11-14 13:14:42 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2023-11-14 13:14:42 +0200
commit294dd992f84f609e6ffcb58e49efb2ef1908e1a8 (patch)
tree23aea55fb647443972765f1eca05d24c0db25ebf /src/compiler.c
parentb00da3db7c1d7f1e16b2e0446234dc42d54b8708 (diff)
downloadek-294dd992f84f609e6ffcb58e49efb2ef1908e1a8.tar.gz
ek-294dd992f84f609e6ffcb58e49efb2ef1908e1a8.zip
make memory tracking more dumb
Diffstat (limited to 'src/compiler.c')
-rw-r--r--src/compiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler.c b/src/compiler.c
index 607618e..5ad67c3 100644
--- a/src/compiler.c
+++ b/src/compiler.c
@@ -175,5 +175,6 @@ int compile(const char *file) {
ret = actualize_main(root);
/** @todo backend */
destroy_scope(root);
+ destroy_ast_nodes();
return ret;
}