Browse Source

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
kimmi 12 years ago
parent
commit
01972bbbcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/ObjFileData.h

+ 1 - 1
code/ObjFileData.h

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