Small fixes. Clean-up.
[u/mrichter/AliRoot.git] / STEER / AliAODTracklets.cxx
index 955f5eb..82892d1 100644 (file)
@@ -43,8 +43,10 @@ void AliAODTracklets::CreateContainer(Int_t nTracks)
   
   fNTracks = nTracks;
 
-  if (fNTracks <= 0)
+  if (fNTracks <= 0) {
+    fNTracks = 0;
     return;
+  }
 
   fTheta = new Double32_t[fNTracks];
   fPhi = new Double32_t[fNTracks];