add pool memory management

This commit is contained in:
Quentin Carbonneaux 2015-10-06 22:51:51 -04:00
parent 99ad19546d
commit 72fc455978
7 changed files with 54 additions and 33 deletions

View file

@ -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: