Skip to content

Commit dd60ed0

Browse files
chiarazampolliBarthelemy
authored andcommitted
Fix bug when deleting objects (#2163)
1 parent 3f1dbbb commit dd60ed0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/HMPID/src/HmpidTaskClusters.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ HmpidTaskClusters::~HmpidTaskClusters()
4444
for (Int_t iCh = 0; iCh < 7; iCh++) {
4545
delete hHMPIDchargeClus[iCh];
4646
delete hHMPIDchargeMipClus[iCh];
47-
delete hHMPIDclusX[7];
48-
delete hHMPIDclusY[7];
47+
delete hHMPIDclusX[iCh];
48+
delete hHMPIDclusY[iCh];
4949
delete hHMPIDpositionClus[iCh];
5050
}
5151
}

0 commit comments

Comments
 (0)