mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 14:55:13 -05:00
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
Block a user