diff --git a/bin/rm/rm.c b/bin/rm/rm.c index b838fef22ef5..1ef6f385d303 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -307,6 +307,7 @@ rm_tree(char **argv) } if (errno) err(1, "fts_read"); + fts_close(fts); } void