mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
Fix memory leak in EmergeManager
EmergeManager keeps a copy of the BiomeGen that it creates, but never deletes it.
This commit is contained in:
parent
289c3ff377
commit
e54f5e544f
@ -202,6 +202,7 @@ EmergeManager::~EmergeManager()
|
||||
delete m_mapgens[i];
|
||||
}
|
||||
|
||||
delete biomegen;
|
||||
delete biomemgr;
|
||||
delete oremgr;
|
||||
delete decomgr;
|
||||
|
Loading…
Reference in New Issue
Block a user