1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 23:58:48 -05:00

Fix memory leak in EmergeManager

This commit is contained in:
PilzAdam 2014-07-06 15:41:56 +02:00
parent 37b7f094e3
commit 6bd15247f9

View File

@ -156,6 +156,11 @@ EmergeManager::~EmergeManager() {
mglist.clear();
delete biomedef;
if (params.sparams) {
delete params.sparams;
params.sparams = NULL;
}
}