1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Fix memory leak from SpatialAreaStore (#12120)

This commit is contained in:
Daroc Alden
2022-03-09 13:28:12 -05:00
committed by GitHub
parent b651bbf446
commit 598efbf7f9

View File

@@ -308,6 +308,7 @@ void SpatialAreaStore::getAreasInArea(std::vector<Area *> *result,
SpatialAreaStore::~SpatialAreaStore()
{
delete m_tree;
delete m_storagemanager;
}
SpatialAreaStore::SpatialAreaStore()