Skip to content
Snippets Groups Projects
Commit 9cf93f93 authored by Rene Brun's avatar Rene Brun
Browse files

- Fix a problem in TChain::LoadTree.

  When a entry is asked which is not available in all the trees of
  the chain (i.e. entryNumber > chain.GetEntries() ), the LoadTree() function
  deletes the currently file opened and returns an error code. That's perfect,
  but when deleting the file the "fFile" pointer is not set to 0, therefore
  in the destructor of the class
      if (fFile) delete fFile;
  calls the TFile destructor a second time generating a SEGV
  (Thanks Manuel Sanchez for reporting)


git-svn-id: http://root.cern.ch/svn/root/trunk@91 27541ba8-7e3a-0410-8455-c3a389f83636
parent b53dd706
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment