diff --git a/code/ObjFileParser.cpp b/code/ObjFileParser.cpp index 6d5cd6372..ebee1c4b1 100644 --- a/code/ObjFileParser.cpp +++ b/code/ObjFileParser.cpp @@ -417,6 +417,7 @@ void ObjFileParser::getFace(aiPrimitiveType type) { DefaultLogger::get()->error("Obj: Ignoring empty face"); m_DataIt = skipLine( m_DataIt, m_DataItEnd, m_uiLine ); + delete pTexID; return; }