Skip to content
Permalink
Browse files
Fix SpatialAreaStore not freeing removed areas
  • Loading branch information
ShadowNinja committed Mar 7, 2016
1 parent 8ae1e1f commit c4b7afed7ed12f8d5894c1a5dd15ea376af06da6
Showing 1 changed file with 1 addition and 0 deletions.
@@ -275,6 +275,7 @@ bool SpatialAreaStore::removeArea(u32 id)
Area *a = &itr->second;
bool result = m_tree->deleteData(get_spatial_region(a->minedge,
a->maxedge), id);
areas_map.erase(itr);
invalidateCache();
return result;
} else {

0 comments on commit c4b7afe

Please sign in to comment.