Remember to fclose(nfp) as well
This commit is contained in:
parent
4d8c3d4dc2
commit
c2db1b9ec6
|
@ -56,6 +56,7 @@ main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
uudecode(fp, nfp);
|
uudecode(fp, nfp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
fclose(nfp);
|
||||||
}
|
}
|
||||||
if (fchmod(fileno(nfp), mode) < 0)
|
if (fchmod(fileno(nfp), mode) < 0)
|
||||||
eprintf("chmod %s:", fname);
|
eprintf("chmod %s:", fname);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user