Fixed: Memory leak

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 6570b26297
commit e2f776d21e

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

Loading…
Cancel
Save