summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 226d507..e945b3c 100644
--- a/main.c
+++ b/main.c
@@ -112,7 +112,6 @@ int main(int argc, char **argv) {
/* fprint_parsed_file(stdout, &f); */
/* printf("\n\n-----\n\n"); */
- tokr_free(&t);
Typer tr;
Evaluator ev;
@@ -148,6 +147,7 @@ int main(int argc, char **argv) {
block_exit(NULL, f.stmts); /* exit global scope */
+ tokr_free(&t);
free(contents);
allocr_free_all(&main_allocr);
evalr_free(&ev);