mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Fix memory leak from SpatialAreaStore (#12120)
This commit is contained in:
parent
b651bbf446
commit
598efbf7f9
@ -308,6 +308,7 @@ void SpatialAreaStore::getAreasInArea(std::vector<Area *> *result,
|
|||||||
SpatialAreaStore::~SpatialAreaStore()
|
SpatialAreaStore::~SpatialAreaStore()
|
||||||
{
|
{
|
||||||
delete m_tree;
|
delete m_tree;
|
||||||
|
delete m_storagemanager;
|
||||||
}
|
}
|
||||||
|
|
||||||
SpatialAreaStore::SpatialAreaStore()
|
SpatialAreaStore::SpatialAreaStore()
|
||||||
|
Loading…
Reference in New Issue
Block a user