Fix for Coverity #10278
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 09:37:00 +0000 (09:37 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 09:37:00 +0000 (09:37 +0000)
STEER/AliAODHandler.cxx

index f448cbd..562a7c9 100644 (file)
@@ -458,7 +458,7 @@ Bool_t AliAODHandler::FinishEvent()
     }       
   }  
   
-  if (fIsStandard) 
+  if (fIsStandard && fAODEvent) 
   {
     fAODEvent->ResetStd();    
   }