From 1331753600b2891b1d09e5aba153cf0dbf0af7e7 Mon Sep 17 00:00:00 2001 From: cvetan Date: Wed, 23 Feb 2011 18:25:47 +0000 Subject: [PATCH] Set ownership of objects in the output list. --- PWG1/AliAnaVZEROQA.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/PWG1/AliAnaVZEROQA.cxx b/PWG1/AliAnaVZEROQA.cxx index aed4a23315d..84c3f466cfc 100644 --- a/PWG1/AliAnaVZEROQA.cxx +++ b/PWG1/AliAnaVZEROQA.cxx @@ -172,6 +172,7 @@ void AliAnaVZEROQA::UserCreateOutputObjects() AliInfo("AliAnaVZEROQA::UserCreateOutputObjects"); // Create output container fListOfHistos = new TList(); + fListOfHistos->SetOwner(); fhAdcNoTimeA = CreateHisto1D("hAdcNoTimeA","ADC (no Leading Time) V0A",200,0,200,"ADC charge","Entries"); fhAdcWithTimeA = CreateHisto1D("hAdcWithTimeA","ADC ( with Leading Time) V0A",200,0,200,"ADC charge","Entries"); -- 2.43.0