]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
should fix one Valgrind output comment
authoramarin <amarin@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 21 Nov 2010 15:51:07 +0000 (15:51 +0000)
committeramarin <amarin@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 21 Nov 2010 15:51:07 +0000 (15:51 +0000)
PWG4/GammaConv/AliAnalysisTaskGammaConversion.cxx

index d6bcc0abf00ee20f580752a5856ddbb031f8c07e..473a23b6329cbb94fe1753d0d0015cd65f94319e 100644 (file)
@@ -1958,9 +1958,10 @@ void AliAnalysisTaskGammaConversion::ProcessGammasForOmegaMesonAnalysis(){
          //  delete omegaCandidatePipPinPi0;
        }
       }
-    } // checking ig gammajet because in that case the chargedparticle list is created
 
+      if (posPiKF) delete posPiKF; posPiKF=NULL;     if (negPiKF) delete negPiKF; negPiKF=NULL;
 
+    } // checking ig gammajet because in that case the chargedparticle list is created
 
   }