In AliMUONTriggerQAChecker:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Aug 2011 08:52:50 +0000 (08:52 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Aug 2011 08:52:50 +0000 (08:52 +0000)
Fixing memory leak (bug report #85154)

MUON/AliMUONTriggerQAChecker.cxx

index f802b0b..4f50cae 100644 (file)
@@ -228,6 +228,6 @@ void AliMUONTriggerQAChecker::SetupHisto(Int_t nevents, const TObjArray& message
 
   histo.SetStats(kFALSE);
     
-  histo.GetListOfFunctions()->Clear();
+  histo.GetListOfFunctions()->Delete();
   histo.GetListOfFunctions()->Add(text);
 }