diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-27 04:20:18 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-27 04:20:18 (GMT) |
commit | 0fee2c55403a34014893f125682b3930a81ad2ed (patch) | |
tree | d427e0d62e670bf21d500e9d95148a9b98b0982d /tests/echotest.cc | |
parent | 04c340b35d8809b595ebb3ce53b7a00313d00a9b (diff) |
Killed some memory leaks
Diffstat (limited to 'tests/echotest.cc')
-rw-r--r-- | tests/echotest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/echotest.cc b/tests/echotest.cc index 2f7ae4c..afa3d03 100644 --- a/tests/echotest.cc +++ b/tests/echotest.cc @@ -124,6 +124,9 @@ int main(int argc, char **argv) AbstractNode::resetIndexCounter(); root_node = root_module->evaluate(&root_ctx, &root_inst); + delete root_node; + delete root_module; + Builtins::instance(true); ofile.close(); return rc; |