]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCcalibTimeGain.cxx
Changes for bug #70680: AliROOT Coverity DELETE_ARRAY checker fix
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibTimeGain.cxx
index 2a80899fdb8aedd89f8b32ba8b1f3d314d48e420..11093d43b9c3533ee7b296b0f2173844f35e9151 100644 (file)
@@ -583,7 +583,7 @@ void AliTPCcalibTimeGain::BinLogX(THnSparse *h, Int_t axisDim) {
    newBins[i] = factor * newBins[i-1];
   }
   axis->Set(bins, newBins);
-  delete newBins;
+  delete[] newBins;
   
 }
 
@@ -606,7 +606,7 @@ void AliTPCcalibTimeGain::BinLogX(TH1 *h) {
    newBins[i] = factor * newBins[i-1];
   }
   axis->Set(bins, newBins);
-  delete newBins;
+  delete[] newBins;
   
 }