diff --git a/Code/Common/otbConfigurationFile.cxx b/Code/Common/otbConfigurationFile.cxx
index e71e17d9784510b1984dbbd835d8826eac8e3f3b..3ded243ed8b1743caeff75297a0eb43ff8fe68e1 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