# fix memory leak in Importer -- progress handler was never deleted. Thanks to dee_ment to point it out (see https://sourceforge.net/tracker/index.php?func=detail&aid=3134561&group_id=226462&atid=1067632).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@877 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
62f6b57637
commit
3baec40ade
|
@ -551,8 +551,9 @@ Importer::~Importer()
|
|||
for( unsigned int a = 0; a < pimpl->mPostProcessingSteps.size(); a++)
|
||||
delete pimpl->mPostProcessingSteps[a];
|
||||
|
||||
// Delete the assigned IO handler
|
||||
// Delete the assigned IO and progress handler
|
||||
delete pimpl->mIOHandler;
|
||||
delete pimpl->mProgressHandler;
|
||||
|
||||
// Kill imported scene. Destructors should do that recursivly
|
||||
delete pimpl->mScene;
|
||||
|
|
Loading…
Reference in New Issue