Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-16438

Coverity: Resource leaks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: Config UI
    • Labels:
      None

      Description

      In CWizardInputs::​getServerIPMap(char const*, char const*, IPropertyTree const*, unsigned int): Leak of memory or pointers to system resources (CWE-404)

      317      if(m_compIpMap.find(buildSetName) != NULL)
      318      {
         	
      CID 1366013 (#1 of 1): Resource leak (RESOURCE_LEAK)
      33. overwrite_var: Overwriting instDetails in instDetails = this->m_compIpMap.getValue(buildSetName) leaks the storage that instDetails points to.
      319        instDetails = m_compIpMap.getValue(buildSetName);
      320
      

        Attachments

          Activity

            People

            • Assignee:
              rpastrana Rodrigo Pastrana
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: