diff options
author | Dániel Juhász <juhdanad@gmail.com> | 2017-04-22 00:55:07 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-22 00:55:07 +0200 |
commit | 8464da75857c1556f64984c0b014300638e38d4f (patch) | |
tree | 2db32fb267c4de8093dea42032a7584067eb5ae8 /src/mesh.h | |
parent | 3e71c8f482131da59642b0175160eb2bc714d439 (diff) | |
download | minetest-8464da75857c1556f64984c0b014300638e38d4f.tar.gz minetest-8464da75857c1556f64984c0b014300638e38d4f.tar.bz2 minetest-8464da75857c1556f64984c0b014300638e38d4f.zip |
Fix a memory leak (#5636)
Diffstat (limited to 'src/mesh.h')
-rw-r--r-- | src/mesh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh.h b/src/mesh.h index 0e946caab..adaf0c836 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -85,6 +85,7 @@ void rotateMeshYZby (scene::IMesh *mesh, f64 degrees); /* * Clone the mesh buffer. + * The returned pointer should be dropped. */ scene::IMeshBuffer* cloneMeshBuffer(scene::IMeshBuffer *mesh_buffer); |