summaryrefslogtreecommitdiff
path: root/bin/rm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rm')
-rw-r--r--bin/rm/rm.c1
1 files changed, 1 insertions, 0 deletions
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 @@ err:
}
if (errno)
err(1, "fts_read");
+ fts_close(fts);
}
void