]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/totEt/AliAnalysisEtSelectorPhos.cxx
fixed compiler warnings (B. Hess)
[u/mrichter/AliRoot.git] / PWGLF / totEt / AliAnalysisEtSelectorPhos.cxx
index aefe6cfb8cc732b1b696c4f018b8b1565b7e9338..df52e5d89fef776cea75dd5204496d6ec09b67d2 100644 (file)
@@ -365,7 +365,7 @@ UInt_t AliAnalysisEtSelectorPhos::GetLabel(const AliESDCaloCluster *cluster, Ali
 //     sure=kFALSE;
 //   else
 //     sure=kTRUE;
-    delete  Ekin;
+    delete [] Ekin;
 
   } // n>0
   return  cluster->GetLabelAt(iMax) ; // DS: should this line be inside n>0 check, and return another value if n<=0 ?