Fixed: Memory leak

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-19 17:46:17 +01:00
parent 6570b26297
commit e2f776d21e

View file

@ -150,6 +150,7 @@ void CRenderTargetManager::cleanup()
desc->TextureUser = NULL;
desc->TextureInterface = NULL; // CSmartPtr
m_RenderTargets.erase(m_RenderTargets.begin() + i);
delete desc;
--i;
}
else