diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp index 4783e428..58e6022f 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; }