Fix memory leak in EmergeManager

EmergeManager keeps a copy of the BiomeGen that it creates, but
never deletes it.
This commit is contained in:
Daroc Alden 2022-03-14 16:01:36 -04:00 committed by GitHub
parent 289c3ff377
commit e54f5e544f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -202,6 +202,7 @@ EmergeManager::~EmergeManager()
delete m_mapgens[i];
}
delete biomegen;
delete biomemgr;
delete oremgr;
delete decomgr;