aboutsummaryrefslogtreecommitdiff
path: root/src/mesh.h
diff options
context:
space:
mode:
authorDániel Juhász <juhdanad@gmail.com>2017-04-22 00:55:07 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-04-22 00:55:07 +0200
commit8464da75857c1556f64984c0b014300638e38d4f (patch)
tree2db32fb267c4de8093dea42032a7584067eb5ae8 /src/mesh.h
parent3e71c8f482131da59642b0175160eb2bc714d439 (diff)
downloadminetest-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.h1
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);