forked from Mirrorlandia_minetest/irrlicht
Fix scene nodes not dropping meshes (memleak)
This commit is contained in:
parent
7df45b4cf3
commit
a3ec3a88e8
@ -51,6 +51,8 @@ CAnimatedMeshSceneNode::~CAnimatedMeshSceneNode()
|
|||||||
{
|
{
|
||||||
if (LoopCallBack)
|
if (LoopCallBack)
|
||||||
LoopCallBack->drop();
|
LoopCallBack->drop();
|
||||||
|
if (Mesh)
|
||||||
|
Mesh->drop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user