diff options
author | Břetislav Štec <valsiterb@gmail.com> | 2015-07-19 01:35:47 +0200 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-07-27 11:06:46 -0400 |
commit | 88a6b9f52d6ffd4e351155dee661fe8ea084a9aa (patch) | |
tree | 8852b46e8337894bb26d034333878e737aea140f /src/mapblock_mesh.cpp | |
parent | 9bc0241e44432491df9984be4f321e8bf94f2eb1 (diff) | |
download | minetest-88a6b9f52d6ffd4e351155dee661fe8ea084a9aa.tar.gz minetest-88a6b9f52d6ffd4e351155dee661fe8ea084a9aa.tar.bz2 minetest-88a6b9f52d6ffd4e351155dee661fe8ea084a9aa.zip |
Fixed minimap memory leak
Diffstat (limited to 'src/mapblock_mesh.cpp')
-rw-r--r-- | src/mapblock_mesh.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapblock_mesh.cpp b/src/mapblock_mesh.cpp index 32f6e659a..33597b2fc 100644 --- a/src/mapblock_mesh.cpp +++ b/src/mapblock_mesh.cpp @@ -1278,6 +1278,7 @@ MapBlockMesh::~MapBlockMesh() { m_mesh->drop(); m_mesh = NULL; + delete m_minimap_mapblock; } bool MapBlockMesh::animate(bool faraway, float time, int crack, u32 daynight_ratio) |