aboutsummaryrefslogtreecommitdiff
path: root/src/emerge.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-04-12 17:20:05 -0400
committerkwolekr <kwolekr@minetest.net>2013-04-12 17:20:05 -0400
commitce901f4c4ca97dee5ab0a3a0d3e14cf7f1cf0154 (patch)
tree8af68a99c95cc79f290366c5910de70b58ba6b7a /src/emerge.cpp
parent7cd5eb4c77de9fda4946de7e1c2384d0c2a0253e (diff)
downloadminetest-ce901f4c4ca97dee5ab0a3a0d3e14cf7f1cf0154.tar.gz
minetest-ce901f4c4ca97dee5ab0a3a0d3e14cf7f1cf0154.tar.bz2
minetest-ce901f4c4ca97dee5ab0a3a0d3e14cf7f1cf0154.zip
Fix double free, null texture drop
Diffstat (limited to 'src/emerge.cpp')
-rw-r--r--src/emerge.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp
index 9d3f94d48..049b3cc12 100644
--- a/src/emerge.cpp
+++ b/src/emerge.cpp
@@ -97,9 +97,6 @@ EmergeManager::~EmergeManager() {
delete mapgen[i];
}
emergethread.clear();
-
- for (unsigned int i = 0; i < mapgen.size(); i++)
- delete mapgen[i];
mapgen.clear();
for (unsigned int i = 0; i < ores.size(); i++)