do not delete fGeom object in ~AliPHOSReconstructor, since it is owned by the AliPHOS...
authorshahoian <ruben.shahoyan@cern.ch>
Thu, 25 Sep 2014 22:30:34 +0000 (00:30 +0200)
committershahoian <ruben.shahoyan@cern.ch>
Thu, 25 Sep 2014 22:33:46 +0000 (00:33 +0200)
PHOS/AliPHOSReconstructor.cxx

index 3dc6b25..6841990 100644 (file)
@@ -93,7 +93,7 @@ AliPHOSReconstructor::AliPHOSReconstructor() :
 AliPHOSReconstructor::~AliPHOSReconstructor()
 {
   // dtor
-  delete fGeom;
+  //  delete fGeom; // RS: fGeom is a static object owned by AliPHOSGeometry::fGeom, don't delete
   delete fClusterizer;
   delete fTSM;
   delete fPID;