Last coverity deffect
authorrbailhac <rbailhac@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 May 2012 19:36:14 +0000 (19:36 +0000)
committerrbailhac <rbailhac@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 May 2012 19:36:14 +0000 (19:36 +0000)
PWGHF/hfe/AliHFEvarManager.cxx

index b247b40..827313e 100644 (file)
@@ -553,7 +553,7 @@ Double_t* AliHFEvarManager::AliHFEvariable::GetBinning() {
     if(fIsLogarithmic) binning = AliHFEtools::MakeLogarithmicBinning(fNBins, fMin, fMax);
     else binning = AliHFEtools::MakeLogarithmicBinning(fNBins, fMin, fMax);
     fBinning.Set(fNBins+1, binning);
-    delete binning;
+    delete []binning;
     return fBinning.GetArray();
   }
 }