Horde3D
http://horde3d.org/forums/

ColladaConv: DaeNode memory leak
http://horde3d.org/forums/viewtopic.php?f=3&t=1681
Page 1 of 1

Author:  Irdis [ 13.06.2012, 11:51 ]
Post subject:  ColladaConv: DaeNode memory leak

There is a memory leak in daeLibVisualScenes. If node has child nodes then they are not cleaned up when node is deleted. You can just add
Code:
~DaeNode()
{
   for( unsigned int i = 0; i < children.size(); ++i ) delete children[i];
}

to fix it. Not much of an issue, if you use ColladaConv as a stand-alone app, but if you integrate it into your application it can be a problem.

Author:  Volker [ 14.06.2012, 10:52 ]
Post subject:  Re: ColladaConv: DaeNode memory leak

Thanks, fixed it, and another one in the SceneNode destructor

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/