BUG#19318 valgrind: memory leak in ndb_mgmd
now deal with memory correctly during ConfigInfo construction (due to previous changes) ndb/src/mgmsrv/ConfigInfo.cpp: Correctly deal with memory during ConfigInfo construction
This commit is contained in:
parent
b8493cd65f
commit
d7b7d480b1
@ -2229,11 +2229,11 @@ ConfigInfo::ConfigInfo()
|
||||
if (!m_info.getCopy(param._section, §ion)) {
|
||||
Properties newsection(true);
|
||||
m_info.put(param._section, &newsection);
|
||||
|
||||
// Get copy of section
|
||||
m_info.getCopy(param._section, §ion);
|
||||
}
|
||||
|
||||
// Get copy of section
|
||||
m_info.getCopy(param._section, §ion);
|
||||
|
||||
|
||||
// Create pinfo (parameter info) entry
|
||||
Properties pinfo(true);
|
||||
pinfo.put("Id", param._paramId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user