diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2017-01-07 00:59:06 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2017-01-07 00:59:06 +0000 |
| commit | 4e354796e9ce6ec7ca510678c1b9299577ff38b0 (patch) | |
| tree | 9cd432fad64d214971ed3c7833b91ab527aca5db /usr.bin/cmp/special.c | |
| parent | 05ea86b0c0acef00e6ff4f42470b9fe7a1e865e4 (diff) | |
Notes
Diffstat (limited to 'usr.bin/cmp/special.c')
| -rw-r--r-- | usr.bin/cmp/special.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/cmp/special.c b/usr.bin/cmp/special.c index 8225185f00ff6..edb641c8e7b43 100644 --- a/usr.bin/cmp/special.c +++ b/usr.bin/cmp/special.c @@ -99,6 +99,8 @@ eof: if (ferror(fp1)) } else if (feof(fp2)) eofmsg(file2); + fclose(fp2); + fclose(fp1); if (dfound) exit(DIFF_EXIT); } |
