Memory leak fix (M. Verweij).
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Feb 2010 15:50:20 +0000 (15:50 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Feb 2010 15:50:20 +0000 (15:50 +0000)
STEER/AliESDfriendTrack.cxx

index 0ae5774..508ffe2 100644 (file)
@@ -120,9 +120,9 @@ AliESDfriendTrack::~AliESDfriendTrack() {
    delete fTPCOut;
    delete fITSOut;
    delete fTRDIn;
-   delete fITSindex;
-   delete fTPCindex;
-   delete fTRDindex;
+   delete[] fITSindex;
+   delete[] fTPCindex;
+   delete[] fTRDindex;
 }