Commit 454cea63 authored by stewart@mysql.com's avatar stewart@mysql.com

BUG#19318 valgrind: memory leak in ndb_mgmd

now deal with memory correctly during ConfigInfo construction (due to previous changes)
parent f9f5f9df
...@@ -2229,10 +2229,10 @@ ConfigInfo::ConfigInfo() ...@@ -2229,10 +2229,10 @@ ConfigInfo::ConfigInfo()
if (!m_info.getCopy(param._section, &section)) { if (!m_info.getCopy(param._section, &section)) {
Properties newsection(true); Properties newsection(true);
m_info.put(param._section, &newsection); m_info.put(param._section, &newsection);
}
// Get copy of section // Get copy of section
m_info.getCopy(param._section, &section); m_info.getCopy(param._section, &section);
}
// Create pinfo (parameter info) entry // Create pinfo (parameter info) entry
Properties pinfo(true); Properties pinfo(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment