Coverify: fix resource leak.

pull/600/head
Kim Kulling 2015-07-03 18:58:02 +02:00
parent dc28746269
commit 001eef2a9f
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ void ObjFileParser::getFace(aiPrimitiveType type)
{
DefaultLogger::get()->error("Obj: Ignoring empty face");
m_DataIt = skipLine<DataArrayIt>( m_DataIt, m_DataItEnd, m_uiLine );
delete pTexID;
return;
}