Commit d7b7d480 authored by unknown's avatar unknown
Browse files

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
parent b8493cd6
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2229,10 +2229,10 @@ ConfigInfo::ConfigInfo()
    if (!m_info.getCopy(param._section, &section)) {
      Properties newsection(true);
      m_info.put(param._section, &newsection);
    }

      // Get copy of section
      m_info.getCopy(param._section, &section);
    }

    // Create pinfo (parameter info) entry 
    Properties pinfo(true);