Do not delete pointer to singleton object
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Dec 2012 06:56:44 +0000 (06:56 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Dec 2012 06:56:44 +0000 (06:56 +0000)
HMPID/AliHMPIDCluster.cxx

index 3c12e6a..bfe84c9 100644 (file)
@@ -74,7 +74,7 @@ void AliHMPIDCluster::SetClusterParams(Double_t xL,Double_t yL,Int_t iCh  )
 AliHMPIDCluster::~AliHMPIDCluster()
 {
   if(fDigs)  delete fDigs; fDigs=0;
-  if(fParam) delete fParam; fParam=0;
+  //PH  if(fParam) delete fParam; fParam=0;
 }
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 void AliHMPIDCluster::CoG()