Put fts_close() where missing.
authoruebayasi <uebayasi@openbsd.org>
Thu, 25 Jun 2015 02:04:07 +0000 (02:04 +0000)
committeruebayasi <uebayasi@openbsd.org>
Thu, 25 Jun 2015 02:04:07 +0000 (02:04 +0000)
commitf12e5d267fa16ace667943cdc0aa0c4c4112d6cf
tree440f37940ad1de54148c8f531e626c31a39ed119
parentb1791a29adca85ab34261dd7a332c864dd62a3d3
Put fts_close() where missing.

Not bugs in short-lived commands that call exit() -> _exit() immediately,
but for idempotency.

Originally found in ls(1) by Valgrind.  Changes for other commands are
from deraadt@.  Reviewed by me, tested in snapshots.

OK deraadt@
bin/chmod/chmod.c
bin/ls/ls.c
usr.bin/compress/main.c
usr.bin/du/du.c
usr.bin/grep/util.c