diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-12-01 00:46:46 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-12-01 00:46:46 (GMT) |
commit | 8e85f09b29ff8c56c26fa69e369080f1d7e09203 (patch) | |
tree | f1645b2af10067f316039b720033bef141a80ad6 /tests/dumptest.cc | |
parent | bcc6120f9b7ce4187c56e0f83dd021674ccdec80 (diff) | |
parent | 24d7edd8cab9cf359ccd89bf88bf7a55e2cfc21b (diff) |
Merge remote branch 'upstream/master' into cakebaby
Diffstat (limited to 'tests/dumptest.cc')
-rw-r--r-- | tests/dumptest.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/dumptest.cc b/tests/dumptest.cc index 4071669..22dd96c 100644 --- a/tests/dumptest.cc +++ b/tests/dumptest.cc @@ -139,6 +139,9 @@ int main(int argc, char **argv) outfile << dumpstdstr << "\n"; outfile.close(); + delete root_node; + delete root_module; + root_module = parsefile(outfilename); if (!root_module) { fprintf(stderr, "Error: Unable to read back dumped file\n"); @@ -159,6 +162,9 @@ int main(int argc, char **argv) exit(1); } + delete root_node; + delete root_module; + Builtins::instance(true); return rc; |