fErrorLogs->Delete() since memory is allocated in TNamed.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2007 10:14:00 +0000 (10:14 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2007 10:14:00 +0000 (10:14 +0000)
STEER/AliESDEvent.cxx

index 0c79d06..dfb3ae6 100644 (file)
@@ -301,7 +301,7 @@ void AliESDEvent::ResetStdContent()
   if(fCascades)fCascades->Clear();
   if(fKinks)fKinks->Clear();
   if(fCaloClusters)fCaloClusters->Delete();
-  if(fErrorLogs) fErrorLogs->Clear();
+  if(fErrorLogs) fErrorLogs->Delete();
 
   // don't reset fconnected fConnected ;