diff options
author | Craig Robbins <kde.psych@gmail.com> | 2015-03-05 15:17:37 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-03-05 15:17:37 +1000 |
commit | 9e675793155d7cd56bbd2222df7b45245008c647 (patch) | |
tree | 967beaebffa9281f65ed7fbe613e6b128a6c0a1b /src | |
parent | eb7482fd73ed111d84644e3abca2b51eb22566f9 (diff) | |
download | minetest-9e675793155d7cd56bbd2222df7b45245008c647.tar.gz minetest-9e675793155d7cd56bbd2222df7b45245008c647.tar.bz2 minetest-9e675793155d7cd56bbd2222df7b45245008c647.zip |
Fix memory leak in MapgenV6
Diffstat (limited to 'src')
-rw-r--r-- | src/mapgen_v6.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp index 4783e4285..58e6022f8 100644 --- a/src/mapgen_v6.cpp +++ b/src/mapgen_v6.cpp @@ -117,6 +117,8 @@ MapgenV6::~MapgenV6() delete noise_mud; delete noise_beach; delete noise_biome; + + delete[] heightmap; } |