mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Fix memory leak from SpatialAreaStore (#12120)
This commit is contained in:
parent
d569dc45a8
commit
4b81ae1b35
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue