mirror of
https://github.com/minetest/minetest.git
synced 2025-01-25 23:41:33 +01:00
Fix memory leak in EmergeManager
This commit is contained in:
parent
37b7f094e3
commit
6bd15247f9
@ -156,6 +156,11 @@ EmergeManager::~EmergeManager() {
|
|||||||
mglist.clear();
|
mglist.clear();
|
||||||
|
|
||||||
delete biomedef;
|
delete biomedef;
|
||||||
|
|
||||||
|
if (params.sparams) {
|
||||||
|
delete params.sparams;
|
||||||
|
params.sparams = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user