Bug fix indicated by Valgrind
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Dec 2010 13:08:38 +0000 (13:08 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Dec 2010 13:08:38 +0000 (13:08 +0000)
(Marian)
  <http://savannah.cern.ch/bugs/?76413>

TPC/AliTPCtrackerMI.cxx

index 34624c2..8e013e5 100644 (file)
@@ -5257,6 +5257,7 @@ void  AliTPCtrackerMI::FindKinks(TObjArray * array, AliESDEvent *esd)
          shared[kink0->GetIndex(0)]= kTRUE;
          shared[kink0->GetIndex(1)]= kTRUE;      
          delete kinks->RemoveAt(indexes[ikink0]);
+         break;
        }
        else{
          shared[kink1->GetIndex(0)]= kTRUE;