Coding rule violation corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 Jan 2012 17:58:56 +0000 (17:58 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 Jan 2012 17:58:56 +0000 (17:58 +0000)
STEER/AOD/AliAODHandler.cxx

index 116f665f522b19083cd440d5c550f03d13cb49b5..486bdd580418b0093f10b4bb8f210cf6bb85fe8a 100644 (file)
@@ -120,13 +120,9 @@ AliAODHandler::~AliAODHandler()
   
   delete fAODEvent;
 
   
   delete fAODEvent;
 
-  if (fFileA)
-  {
-    // is already handled in TerminateIO
-    fFileA->Close();
-    delete fFileA;
-  }
+  if (fFileA) fFileA->Close();
 
 
+  delete fFileA;
   delete fTreeA;
   delete fExtensions;
   delete fFilters;
   delete fTreeA;
   delete fExtensions;
   delete fFilters;