delete trackParam
authormverweij <marta.verweij@cern.ch>
Mon, 9 Dec 2013 21:02:38 +0000 (22:02 +0100)
committerConstantin Loizides <cloizides@lbl.gov>
Mon, 9 Dec 2013 21:47:54 +0000 (22:47 +0100)
EMCAL/AliEMCALRecoUtils.cxx

index d0bdd6b..ced4254 100644 (file)
@@ -2161,6 +2161,9 @@ Bool_t AliEMCALRecoUtils::ExtrapolateTrackToEMCalSurface(AliVTrack *track,
     return kFALSE;
 
   track->SetTrackPhiEtaPtOnEMCal(phiout, etaout, ptout);
+
+  if(trackParam) delete trackParam;
+
   return kTRUE;
 }