Fix coverity defect 24647
authorzconesa <zaida.conesa.del.valle@cern.ch>
Thu, 8 Jan 2015 16:54:10 +0000 (17:54 +0100)
committerzconesa <zaida.conesa.del.valle@cern.ch>
Thu, 8 Jan 2015 16:54:33 +0000 (17:54 +0100)
PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelor.cxx

index e7d698a..af4fcd9 100644 (file)
@@ -3763,7 +3763,7 @@ Int_t AliAnalysisTaskSELc2V0bachelor::SearchForCommonMother(TClonesArray *mcArra
   AliDebug(2,Form("%s \n",stringaCheck2.Data()));
 
   delete [] labelMother;
-  delete pdgDg;
+  delete [] pdgDg;
 
   return pdgToBeReturned;