summary refs log tree commit diff
path: root/lisc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/main.c')
-rw-r--r--lisc/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisc/main.c b/lisc/main.c
index 9ac0286..c8edeb5 100644
--- a/lisc/main.c
+++ b/lisc/main.c
@@ -61,6 +61,7 @@ main(int ac, char *av[])
 	}
 
 	fn = parse(inf);
+	fclose(inf);
 	if (debug['P']) {
 		fprintf(stderr, "\n> After parsing:\n");
 		printfn(fn, stderr);
@@ -85,6 +86,7 @@ main(int ac, char *av[])
 		emitfn(fn, stdout);
 	else
 		fprintf(stderr, "\n");
+	freeall();
 	exit(0);
 
 Usage: