]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fix.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Jan 2011 12:19:49 +0000 (12:19 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Jan 2011 12:19:49 +0000 (12:19 +0000)
EVGEN/AliGenHalo.cxx
EVGEN/AliGenHaloProtvino.cxx

index 23efa118590bb6687ac338f3cc74915810e7c9d1..b824e301666a500e3e9c3e97673d69c17c0dd73b 100644 (file)
@@ -240,6 +240,7 @@ void AliGenHalo::Init()
     sum1/=250.;
     sum2/=250.;
     printf("\n %f %f \n \n", sum1, sum2);
+    delete file;
 }
 
 //____________________________________________________________
index 676eda211854e87860fd43a5fd53825560a31de3..5234b8d15e90ffe36726b38b2b0d57356bb23ef0 100644 (file)
@@ -207,6 +207,7 @@ void AliGenHaloProtvino::Init()
     sum1/=250.;
     sum2/=250.;
     printf("\n %f %f \n \n", sum1, sum2);
+    delete file;
 }
 
 //____________________________________________________________