bugfix : Fix a memory leak in the obj-loader.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1344 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/14/head
kimmi 2012-12-08 12:28:06 +00:00
parent ac7d7d20c9
commit 01972bbbcf
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ struct Model
m_Groups.clear();
for ( std::map<std::string, Material*>::iterator it = m_MaterialMap.begin(); it != m_MaterialMap.end(); ++it ) {
// delete it->second;
delete it->second;
}
}
};