summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wc.c b/src/wc.c
index 061b46500..b19a9c28b 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -674,6 +674,8 @@ main (int argc, char **argv)
max_line_length, _("total"));
}
+ free (fstatus);
+
if (have_read_stdin && close (STDIN_FILENO) != 0)
error (EXIT_FAILURE, errno, "-");