fixed bug with t0 handling in case of ADDRUN and missing t0's in the msr-file, but t0's present in the data file (MUSR-94). Fixed another memory leak in PRunDataHandler PSIBIN (I am really not happy about the PSIBIN class handling because of the deep copy)

This commit is contained in:
nemu
2009-10-20 05:42:45 +00:00
parent 62cf91fbbf
commit 6f779fd6db
2 changed files with 2 additions and 2 deletions

View File

@ -949,7 +949,7 @@ Bool_t PRunDataHandler::ReadPsiBinFile()
for (Int_t j=0; j<psiBin.get_histoLength_bin(); j++) {
histoData.push_back(histo[j]);
}
delete histo;
delete[] histo;
runData.AppendDataBin(histoData);
histoData.clear();
}