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)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Mon, 29 Sep 2014 08:47:52 +0000 (10:47 +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;