Do not delete primList, it is owned by another object
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Oct 2007 16:03:27 +0000 (16:03 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Oct 2007 16:03:27 +0000 (16:03 +0000)
PHOS/AliPHOSReconstructor.cxx

index bad3c1cbe8901937a9c2b9e1887f3a36b8731059..5786235ff91e95474b88dd1cb243e1fa45ba8a2c 100644 (file)
@@ -297,7 +297,6 @@ void AliPHOSReconstructor::FillESD(TTree* digitsTree, TTree* clustersTree,
     // add the track to the esd object
     esd->AddCaloCluster(ec);
     delete ec;   
-    delete [] primList;
     delete [] amplList;
     delete [] timeList;
     delete [] digiList;