Memory leak corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Sep 2007 09:35:06 +0000 (09:35 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Sep 2007 09:35:06 +0000 (09:35 +0000)
JETAN/AliJetESDReader.cxx

index 733b26a..10af1cd 100755 (executable)
@@ -208,8 +208,11 @@ Bool_t AliJetESDReader::FillMomentumArray(Int_t /*event*/)
   // set the signal flags
   fSignalFlag.Set(goodTrack,sflag);
   fCutFlag.Set(goodTrack,cflag);
-  return kTRUE;
 
+  delete[] sflag;
+  delete[] cflag;
+
+  return kTRUE;
 }
 
 //____________________________________________________________________________