Fix memory leak in MapgenV6
This commit is contained in:
parent
eb7482fd73
commit
9e67579315
|
@ -117,6 +117,8 @@ MapgenV6::~MapgenV6()
|
||||||
delete noise_mud;
|
delete noise_mud;
|
||||||
delete noise_beach;
|
delete noise_beach;
|
||||||
delete noise_biome;
|
delete noise_biome;
|
||||||
|
|
||||||
|
delete[] heightmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue