diff options
author | sapier <Sapier at GMX dot net> | 2013-04-07 22:27:27 +0200 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-04-09 02:23:07 -0400 |
commit | 04c3b17c780f78fcaa23af8187b5e5e30ff8fcab (patch) | |
tree | db542bd78f496cb4c470231265e0078c54e2ee71 /src/mesh.cpp | |
parent | 58fd39de35fc541ee6f50cc7b85ff29ab749778a (diff) | |
download | minetest-04c3b17c780f78fcaa23af8187b5e5e30ff8fcab.tar.gz minetest-04c3b17c780f78fcaa23af8187b5e5e30ff8fcab.tar.bz2 minetest-04c3b17c780f78fcaa23af8187b5e5e30ff8fcab.zip |
fix various memory leaks
Diffstat (limited to 'src/mesh.cpp')
-rw-r--r-- | src/mesh.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesh.cpp b/src/mesh.cpp index c2e6bcaa4..da0dbe442 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -246,6 +246,8 @@ static scene::IAnimatedMesh* extrudeARGB(u32 twidth, u32 theight, u8 *data) } } + delete[] solidity; + // Add to mesh scene::SMesh *mesh = new scene::SMesh(); mesh->addMeshBuffer(buf); |