Removal of memory leaks (Laurent)
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Nov 2009 22:20:34 +0000 (22:20 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Nov 2009 22:20:34 +0000 (22:20 +0000)
STEER/AliESDTagCreator.cxx

index 856cee5..dfd3113 100644 (file)
@@ -1598,6 +1598,8 @@ void AliESDTagCreator::CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, AliGRP
   ttag->Write();
   ftag->Close();
   file->cd();
+  delete file;
+  delete esd;
   delete tag;
   delete evTag;
 }