Fixed: Memory leak

This commit is contained in:
kervala 2016-12-19 17:46:17 +01:00
parent 67e3108c25
commit 236522fe11

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