summaryrefslogtreecommitdiff
path: root/tests/echotest.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-11-27 04:20:18 (GMT)
committerMarius Kintel <marius@kintel.net>2011-11-27 04:20:18 (GMT)
commit0fee2c55403a34014893f125682b3930a81ad2ed (patch)
treed427e0d62e670bf21d500e9d95148a9b98b0982d /tests/echotest.cc
parent04c340b35d8809b595ebb3ce53b7a00313d00a9b (diff)
Killed some memory leaks
Diffstat (limited to 'tests/echotest.cc')
-rw-r--r--tests/echotest.cc3
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;
contact: Jan Huwald // Impressum