Fixing memory leak
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Sep 2010 14:38:58 +0000 (14:38 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Sep 2010 14:38:58 +0000 (14:38 +0000)
MUON/AliMUONTriggerCrate.cxx

index 376f9c1..e569bb9 100644 (file)
@@ -57,7 +57,8 @@ AliMUONTriggerCrate::AliMUONTriggerCrate(const char *name, Int_t n) :
     fBoards(new TObjArray(fNslots)),
     fSourceFileName(0)
 {
-/// Standard constructor
+  /// Standard constructor
+  fBoards->SetOwner(kTRUE);
 }
 
 //___________________________________________