From: snelling Date: Mon, 28 Feb 2011 10:21:01 +0000 (+0000) Subject: ownership X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=ef7cafb6368c8cc771515d3cb51dec399a6245e8;p=u%2Fmrichter%2FAliRoot.git ownership --- diff --git a/PWG2/FLOW/AliFlowCommon/AliFlowAnalysisWithScalarProduct.cxx b/PWG2/FLOW/AliFlowCommon/AliFlowAnalysisWithScalarProduct.cxx index 8d7fcf6eda0..d17c527b746 100644 --- a/PWG2/FLOW/AliFlowCommon/AliFlowAnalysisWithScalarProduct.cxx +++ b/PWG2/FLOW/AliFlowCommon/AliFlowAnalysisWithScalarProduct.cxx @@ -90,6 +90,7 @@ ClassImp(AliFlowAnalysisWithScalarProduct) // Constructor. fWeightsList = new TList(); fHistList = new TList(); + fHistList->SetOwner(kTRUE); // Initialize arrays: for(Int_t i=0;i<3;i++) diff --git a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskPIDflowQA.cxx b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskPIDflowQA.cxx index 9e7fc8de07d..e5645e20d79 100644 --- a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskPIDflowQA.cxx +++ b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskPIDflowQA.cxx @@ -148,6 +148,7 @@ void AliAnalysisTaskPIDflowQA::UserCreateOutputObjects() if (fOutputList) fOutputList->Delete(); delete fOutputList; fOutputList=new TList(); + fOutputList->SetOwner(kTRUE); const Int_t ndec=2; Int_t startvalue=-1;