summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/mgmsrv/ConfigInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/mgmsrv/ConfigInfo.cpp b/ndb/src/mgmsrv/ConfigInfo.cpp
index 1466ae2e0f5..2673aecf31b 100644
--- a/ndb/src/mgmsrv/ConfigInfo.cpp
+++ b/ndb/src/mgmsrv/ConfigInfo.cpp
@@ -2287,6 +2287,7 @@ ConfigInfo::ConfigInfo()
// Replace section with modified section
m_info.put(param._section, section, true);
+ delete section;
if(param._type != ConfigInfo::CI_SECTION){
Properties * p;
@@ -2344,7 +2345,6 @@ ConfigInfo::ConfigInfo()
ndbout << "Edit file " << __FILE__ << "." << endl;
require(false);
}
- delete section;
}
}