mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 07:58:44 +00:00
Fixed: Memory leak
This commit is contained in:
parent
67e3108c25
commit
236522fe11
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue