]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix for Savannah bug 102396: memory leak in ITSV0Finder
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Sep 2013 08:18:54 +0000 (08:18 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Sep 2013 08:18:54 +0000 (08:18 +0000)
ITS/AliITSV0Finder.cxx

index 8e7807f2f3ccb93798adb6fdd35e97faa49645d7..c414dc5425258c06464bee1105b8333463c1371d 100644 (file)
@@ -245,7 +245,7 @@ void AliITSV0Finder::FindV02(AliESDEvent *event,
   //\r
   TTreeSRedirector &cstream = *(tracker->GetDebugStreamer());\r
   Int_t ntracks    = event->GetNumberOfTracks(); \r
-  Int_t nitstracks = trackHypothesys->GetEntriesFast();\r
+  Int_t nitstracks = originalTracks->GetEntriesFast();\r
   originalTracks->Expand(ntracks);\r
   trackHypothesys->Expand(ntracks);\r
   bestHypothesys->Expand(ntracks);\r