fTable set to 0 after deletion to allow reinitialization
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Mar 2004 16:34:53 +0000 (16:34 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Mar 2004 16:34:53 +0000 (16:34 +0000)
ITS/AliITStrackerSA.cxx

index 87387fcce5d5de6c74dfc88a4ae9a8348c14fd29..f04b682d5619cdf0659d51a984681b4e71d817b6 100644 (file)
@@ -405,6 +405,7 @@ void AliITStrackerSA::FindTracks(TTree *out,Int_t evnumber){
 
   delete [] firstmod;
   delete fTable;
+  fTable = 0;
 }
 
 
@@ -618,7 +619,8 @@ Int_t AliITStrackerSA::FindTracks(AliESD* event){
   }  //end opt="5/6"  
 
   delete [] firstmod;
-  delete fTable;   
+  delete fTable;
+  fTable = 0;
   Info("FindTracks","Number of found tracks: %d",event->GetNumberOfTracks());
 
   return 0;