Fixed double delete.
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Oct 2010 13:08:41 +0000 (13:08 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Oct 2010 13:08:41 +0000 (13:08 +0000)
ANALYSIS/AliAnalysisAlien.cxx

index 03b5c7c..1b8f615 100644 (file)
@@ -1091,8 +1091,8 @@ Bool_t AliAnalysisAlien::CreateJDL()
                   files.ReplaceAll(Form("%s,",os->GetString().Data()),"");
                   files.ReplaceAll(os->GetString(),"");
                }   
+               delete arr;
             }
-            delete arr;
             files.ReplaceAll(".root", "*.root");
             outputArchive += Form("root_archive.zip:%s@disk=%d",files.Data(),fNreplicas);
          } else {