Additional initialization
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Mar 2006 08:33:42 +0000 (08:33 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Mar 2006 08:33:42 +0000 (08:33 +0000)
STEER/AliAlignmentTracks.cxx

index 45ffc99..faf89f1 100644 (file)
@@ -558,6 +558,7 @@ Int_t AliAlignmentTracks::LoadPoints(const TArrayI *volids, AliTrackPointArray**
 
   // Allocate the pointer to the space-point arrays
   points = new AliTrackPointArray*[nArrays];
+  for (Int_t i = 0; i < nArrays; i++) points[i] = 0x0;
 
   // Init the array used to flag already loaded tree entries
   Bool_t *indexUsed = new Bool_t[fPointsTree->GetEntries()];