mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-27 04:12:35 +02:00
Fix scene nodes not dropping meshes (memleak)
This commit is contained in:
@ -51,6 +51,8 @@ CAnimatedMeshSceneNode::~CAnimatedMeshSceneNode()
|
|||||||
{
|
{
|
||||||
if (LoopCallBack)
|
if (LoopCallBack)
|
||||||
LoopCallBack->drop();
|
LoopCallBack->drop();
|
||||||
|
if (Mesh)
|
||||||
|
Mesh->drop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user