diff options
author | Daroc Alden <setupminimal@users.noreply.github.com> | 2022-03-09 13:28:12 -0500 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-14 18:33:42 +0200 |
commit | 4b81ae1b3590ba9159113605254e073c1efddf12 (patch) | |
tree | 70ff640252b8fa84a8fa377c399879b1ebb98ef2 /src/util | |
parent | d569dc45a8f572059937d236ef54130ba6ff635b (diff) | |
download | minetest-4b81ae1b3590ba9159113605254e073c1efddf12.tar.gz minetest-4b81ae1b3590ba9159113605254e073c1efddf12.tar.bz2 minetest-4b81ae1b3590ba9159113605254e073c1efddf12.zip |
Fix memory leak from SpatialAreaStore (#12120)
Diffstat (limited to 'src/util')
-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() |