ownership
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliAnalysisTaskPIDflowQA.cxx
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;