projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb7482f
)
Fix memory leak in MapgenV6
author
Craig Robbins
<kde.psych@gmail.com>
Thu, 5 Mar 2015 05:17:37 +0000
(15:17 +1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Thu, 5 Mar 2015 05:17:37 +0000
(15:17 +1000)
src/mapgen_v6.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen_v6.cpp
b/src/mapgen_v6.cpp
index 4783e42857490315b4c035548581ca94f2da045c..58e6022f8e9876ea210ce70e74314b1909d5285d 100644
(file)
--- 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;
}