]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Leak detected by Coverity fixed
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 09:16:47 +0000 (09:16 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 09:16:47 +0000 (09:16 +0000)
STEER/AliESDInputHandler.cxx

index bda0d9435d37ecfb6dc203f3e25ed230dfcd4128..64326efda4a96c2fa6176accfdd6a8f647c459d8 100644 (file)
@@ -466,7 +466,7 @@ Int_t AliESDInputHandler::GetNFilesEmpty()
     
     Int_t iAcc = atoi(strtok(iTagInfo, ","));
     Int_t iRej = atoi(strtok(NULL, ","));
-    
+    free(iTagInfo);
     if ((iAcc == 0) && ((iRej+iAcc)>0))
       iFilesEmpty++;
   }