coverity fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Mar 2011 12:55:27 +0000 (12:55 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Mar 2011 12:55:27 +0000 (12:55 +0000)
T0/AliT0CalibOffsetChannelsTask.cxx

index e8cd0e5..981158e 100644 (file)
@@ -73,9 +73,10 @@ AliT0CalibOffsetChannelsTask::~AliT0CalibOffsetChannelsTask()
   delete fTzeroORC;\r
   delete fResolution;\r
   delete fTzeroORAplusORC;\r
-  delete [] fTimeDiff;\r
-  delete [] fCFD;\r
-\r
+  for (Int_t i=0; i<24; i++) {\r
+    delete  fTimeDiff[i];\r
+    delete  fCFD[i];\r
+  }\r
   delete fTzeroObject;\r
 }\r
 \r