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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user