ownership
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2011 10:21:01 +0000 (10:21 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2011 10:21:01 +0000 (10:21 +0000)
PWG2/FLOW/AliFlowCommon/AliFlowAnalysisWithScalarProduct.cxx
PWG2/FLOW/AliFlowTasks/AliAnalysisTaskPIDflowQA.cxx

index 8d7fcf6eda09f1584738a9c8bb7a2906468b8af1..d17c527b746dfea5761cc7c1eb3c8ff2bebb6c5c 100644 (file)
@@ -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++)
index 9e7fc8de07d140ac69e326f31fc92424bbc7893e..e5645e20d79fe9234c2af1b02e1f9a7d85a1e7b6 100644 (file)
@@ -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;