diff options
author | maxim <maxim@FreeBSD.org> | 2006-04-15 09:26:23 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2006-04-15 09:26:23 +0000 |
commit | d01f82209eb6b24955711f72870f270aec338861 (patch) | |
tree | f5196d7db32f318510d603c03432022ecb363b7b /bin | |
parent | 377017519f5fccfe1d8eb51cb6124dfa69d228fa (diff) | |
download | FreeBSD-src-d01f82209eb6b24955711f72870f270aec338861.zip FreeBSD-src-d01f82209eb6b24955711f72870f270aec338861.tar.gz |
o Be pedantic and do fts_close() when done.
PR: bin/95292
Submitted by: Charles Hardin
Obtained from: NetBSD via OpenBSD, PR
Diffstat (limited to 'bin')
-rw-r--r-- | bin/rm/rm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index b838fef..1ef6f38 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -307,6 +307,7 @@ err: } if (errno) err(1, "fts_read"); + fts_close(fts); } void |