From e2f776d21e5c9bf130f4164c0f1c600fcfb72dee Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 19 Dec 2016 17:46:17 +0100 Subject: [PATCH] Fixed: Memory leak --HG-- branch : develop --- code/nel/src/3d/render_target_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/nel/src/3d/render_target_manager.cpp b/code/nel/src/3d/render_target_manager.cpp index 8112686fb..6012eeb8e 100644 --- a/code/nel/src/3d/render_target_manager.cpp +++ b/code/nel/src/3d/render_target_manager.cpp @@ -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