Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-3188

the operations on ref count of ComDiagsArea can be improved

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4
    • 2.4
    • -exe
    • None

    Description

      The operations on ref count of ComDiagsArea appears in several places, and have be to consistent. If one is missed, that count would be incorrect, causing memory leak or access to wild pointer.

       

      So the access pattern can be improved by wrap the operations in a single funcion, like atp_struct::setDiagsArea(), or ComDiagsArea::operator=().

      Attachments

        Issue Links

          Activity

            People

              Wenjun Zhu Wenjun Zhu
              Wenjun Zhu Wenjun Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: