]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix for potencial memory leak.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Mar 2010 01:49:23 +0000 (01:49 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Mar 2010 01:49:23 +0000 (01:49 +0000)
HLT/BASE/AliHLTGlobalTriggerDecision.cxx

index ce646852786c7670dafaf81113a89c664e4e8346..6ce649e2763b8576b1656911013cc511ac73e719 100644 (file)
@@ -31,12 +31,14 @@ ClassImp(AliHLTGlobalTriggerDecision)
 
 
 AliHLTGlobalTriggerDecision::AliHLTGlobalTriggerDecision() :
-AliHLTTriggerDecision(0, "HLTGlobalTrigger"),
+  AliHLTTriggerDecision(0, "HLTGlobalTrigger"),
   fContributingTriggers(AliHLTTriggerDecision::Class()),
   fInputObjects(),
   fCounters()
 {
   // Default constructor.
+  
+  fInputObjects.SetOwner(kTRUE);
 }
 
 
@@ -167,6 +169,7 @@ AliHLTGlobalTriggerDecision::AliHLTGlobalTriggerDecision(const AliHLTGlobalTrigg
   fCounters()
 {
   // copy constructor
+  fInputObjects.SetOwner(kTRUE);
   *this=src;
 }