]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/hfe/AliHFEtools.cxx
Fix for bug #71737 DELETE_ARRAY reported by Coverity
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEtools.cxx
index 91af78ad4fdf2704cac97f306e1225786259bc87..f7632e272a5ef032cb777f8352baadf3eb2749c7 100644 (file)
@@ -127,7 +127,7 @@ Bool_t AliHFEtools::BinLogAxis(TObject *o, Int_t dim){
     newBins[i] = factor * newBins[i-1];
   }
   axis->Set(bins, newBins);
-  delete newBins;
+  delete [] newBins;
 
   return kTRUE;
 }