Skip to content
Snippets Groups Projects
Commit 0366735c authored by Axel Naumann's avatar Axel Naumann
Browse files

Fix Coverity CID12145 - leaking file handle.

parent 84b78d81
Branches
Tags
No related merge requests found
...@@ -753,6 +753,8 @@ char *line, ...@@ -753,6 +753,8 @@ char *line,
printf(" "); /* we need this to update the time stamp! */ printf(" "); /* we need this to update the time stamp! */
fflush(fdout); fflush(fdout);
} }
if (fdin) fclose(fdin);
/* don't mess with stdout: if (fdout) fclose(fdout); */
} }
void fatalerr(char *msg, ...) void fatalerr(char *msg, ...)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment