fixing a memory leak
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 9 Nov 2009 17:34:13 +0000 (17:34 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 9 Nov 2009 17:34:13 +0000 (17:34 +0000)
FMD/AliFMDRawReader.cxx

index d51d602..bed80da 100644 (file)
@@ -112,6 +112,7 @@ AliFMDRawReader::Exec(Option_t*)
   Int_t nWrite = fTree->Fill();
   AliFMDDebug(1, ("Got a grand total of %d digits, wrote %d bytes to tree", 
                   array->GetEntriesFast(), nWrite));
+  delete array;
 }
 
 //____________________________________________________________________