aboutsummaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-04-07 22:27:27 +0200
committerkwolekr <kwolekr@minetest.net>2013-04-09 02:23:07 -0400
commit04c3b17c780f78fcaa23af8187b5e5e30ff8fcab (patch)
treedb542bd78f496cb4c470231265e0078c54e2ee71 /src/test.cpp
parent58fd39de35fc541ee6f50cc7b85ff29ab749778a (diff)
downloadminetest-04c3b17c780f78fcaa23af8187b5e5e30ff8fcab.tar.gz
minetest-04c3b17c780f78fcaa23af8187b5e5e30ff8fcab.tar.bz2
minetest-04c3b17c780f78fcaa23af8187b5e5e30ff8fcab.zip
fix various memory leaks
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test.cpp b/src/test.cpp
index d18bd8b93..d1f53f880 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -1781,5 +1781,7 @@ void run_tests()
errorstream<<"run_tests() aborting."<<std::endl;
abort();
}
+ delete idef;
+ delete ndef;
}