1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

fix various memory leaks

This commit is contained in:
sapier 2013-04-07 22:27:27 +02:00 committed by kwolekr
parent 58fd39de35
commit 04c3b17c78
3 changed files with 7 additions and 1 deletions

View file

@ -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);