diff options
author | Daroc Alden <setupminimal@users.noreply.github.com> | 2022-03-09 13:28:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 19:28:12 +0100 |
commit | 598efbf7f9d75307e7ea48ed7ec0e9b560e69375 (patch) | |
tree | bc5ab97dc97380bcdb9025af0a0b3f59d6efa515 /src | |
parent | b651bbf44639b9bdd1d5ef581acb57fd47cc6b7a (diff) | |
download | minetest-598efbf7f9d75307e7ea48ed7ec0e9b560e69375.tar.gz minetest-598efbf7f9d75307e7ea48ed7ec0e9b560e69375.tar.bz2 minetest-598efbf7f9d75307e7ea48ed7ec0e9b560e69375.zip |
Fix memory leak from SpatialAreaStore (#12120)
Diffstat (limited to 'src')
-rw-r--r-- | src/util/areastore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/areastore.cpp b/src/util/areastore.cpp index 67bfef0c0..bf751476f 100644 --- a/src/util/areastore.cpp +++ b/src/util/areastore.cpp @@ -308,6 +308,7 @@ void SpatialAreaStore::getAreasInArea(std::vector<Area *> *result, SpatialAreaStore::~SpatialAreaStore() { delete m_tree; + delete m_storagemanager; } SpatialAreaStore::SpatialAreaStore() |