forked from Mirrorlandia_minetest/minetest
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