Additional protection.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Mar 2006 08:34:44 +0000 (08:34 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Mar 2006 08:34:44 +0000 (08:34 +0000)
STEER/AliTrackFitter.cxx

index 6220894..4eec5c8 100644 (file)
@@ -114,6 +114,8 @@ void AliTrackFitter::SetTrackPointArray(AliTrackPointArray *array, Bool_t owner)
   // Load space points from array
   // By default we don't copy them but
   // just put the pointers to them
+  if (!array) return;
+
   Reset();
 
   if (fIsOwner) delete fPoints;