Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-5649

Cleanup in TKey::ReadObj()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 5.34/00, 6.00.00
    • 6.00.00
    • I/O
    • None
    • Error handling when reading ROOT files

    Description

      In TKey.cxx, line 804
      http://root.cern.ch/root/html/src/TKey.cxx.html#804

      Wrong "delete pobj" method is used.
      Most probably, cl->Destructor(pobj) must be used.
      Same error in line 929.

      Method ReadObjectAny() implemented correctly.

      Attachments

        Activity

          People

            pcanal Philippe Canal
            slinev Serguei Linev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: