Bug fixed: pointer was not properly deleted
authorcussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2004 07:35:29 +0000 (07:35 +0000)
committercussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2004 07:35:29 +0000 (07:35 +0000)
MUON/AliMUONEventReconstructor.cxx

index 47442b251222bebe595cd3047ce768f7e1abca88..06202b7365fe8f58df70ef08c670ee3c0a332d27 100644 (file)
@@ -1214,6 +1214,7 @@ Int_t AliMUONEventReconstructor::MakeTrackCandidatesWithOneSegmentAndOnePoint(Al
       }
     } // for (iHit = iHitMin;...
     delete extrapHitForRec;
       }
     } // for (iHit = iHitMin;...
     delete extrapHitForRec;
+    extrapHitForRec = NULL;
   } // for (ch = ch2;...
   return nbCan1Seg1Hit;
 }
   } // for (ch = ch2;...
   return nbCan1Seg1Hit;
 }