commit c2db1b9ec63fe18ed25edf4fdf69102161c6402e parent 4d8c3d4dc2743c001e2b223459c9e624f18c7777 Author: sin <sin@2f30.org> Date: Tue, 4 Feb 2014 14:33:24 +0000 Remember to fclose(nfp) as well Diffstat:
M | uudecode.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/uudecode.c b/uudecode.c @@ -56,6 +56,7 @@ main(int argc, char *argv[]) } uudecode(fp, nfp); fclose(fp); + fclose(nfp); } if (fchmod(fileno(nfp), mode) < 0) eprintf("chmod %s:", fname);