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

CKeyMerger::resetSort leaks keyCursor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.6, 7.6.40
    • Component/s: Roxie
    • Labels:
      None

      Description

      Valgrind reports a leak linked to this function.  From a quick scan it looks like it could leak keyCursor in several ways

      • any value of keyCursor on entry will be leaked
      • if the main loop goes around more than once it will leak keyCursor.

      Richard ChapmanJake Smith it would be worth someone who understands this code better to provide a fix.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: