From f81c87f48ac106d66e2a0268e31a98287145a3f9 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Sun, 17 Jan 2010 20:21:05 +0800 Subject: [PATCH] BUG: memory leak --- Code/Common/otbConfigurationFile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Common/otbConfigurationFile.cxx b/Code/Common/otbConfigurationFile.cxx index e71e17d978..3ded243ed8 100644 --- a/Code/Common/otbConfigurationFile.cxx +++ b/Code/Common/otbConfigurationFile.cxx @@ -42,6 +42,7 @@ ConfigurationFile ConfigurationFile ::~ConfigurationFile() { + delete m_OTBConfig; } ConfigurationFile::Pointer @@ -53,7 +54,7 @@ ConfigurationFile Instance = Self::New(); } return Instance; -}; +} void -- GitLab