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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()