added removal of root node after output generation
This commit is contained in:
parent
d7b690ec8a
commit
7789c7e597
|
@ -72,5 +72,6 @@ int main(int argc, char *argv[]) {
|
|||
FILE *output = fopen("test.txt", "w");
|
||||
AST_fprint_graphviz(output, root);
|
||||
fclose(output);
|
||||
AST_delete_node(root);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue