fixed leak (background identification object deleted in the dtor)
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Nov 2010 14:32:46 +0000 (14:32 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Nov 2010 14:32:46 +0000 (14:32 +0000)
ANALYSIS/AliPhysicsSelection.cxx

index 7b567cc..f03fd1d 100644 (file)
@@ -180,7 +180,11 @@ AliPhysicsSelection::~AliPhysicsSelection()
     delete fHistTriggerPattern;
     fHistTriggerPattern = 0;
   }
-
+  if (fBackgroundIdentification)
+  { 
+    delete fBackgroundIdentification;
+    fBackgroundIdentification = 0;
+  }  
 }
 
 UInt_t AliPhysicsSelection::CheckTriggerClass(const AliESDEvent* aEsd, const char* trigger) const