Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: eclrtl
    • Labels:
      None

      Description

          • CID 1459620: Resource leaks (RESOURCE_LEAK)
            /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/rtl/eclrtl/rtlrecord.cpp: 175 in expandNestedRows(unsigned int, const char *, const RtlFieldInfo *const *, const RtlFieldInfo **, const char **, const IfBlockInfo *, ConstPointerArrayOf<IfBlockInfo> &)()
            169 { 170 StringBuffer newPrefix(prefix); 171 if (cur->name && *cur->name) 172 newPrefix.append(cur->name).append('.'); 173 idx = expandNestedRows(idx, newPrefix.str(), nested, target, names, nestIfBlock, ifblocks); 174 }

            >>> CID 1459620: Resource leaks (RESOURCE_LEAK)
            >>> Variable "nestIfBlock" going out of scope leaks the storage it points to.
            175 }
            176 else
            177 {
            178 if (prefix)
            179 {
            180 StringBuffer name(prefix);

      Looks like a typo in the code (adding the wrong variable to the array)

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: