diff options
author | Jim Meyering <jim@meyering.net> | 2003-11-06 09:28:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-11-06 09:28:13 +0000 |
commit | a5aaf05fbfcf36b80e4759ea1f40c37cb1313089 (patch) | |
tree | 72ebae52adc807ecab291329159e9953b034af08 /src | |
parent | c1f33f59f59af314aeb898e1c8d267dd5d808171 (diff) | |
download | coreutils-a5aaf05fbfcf36b80e4759ea1f40c37cb1313089.tar.xz |
(main): Free `fstatus' so there is no confusion about
whether it's leaked or not.
Diffstat (limited to 'src')
-rw-r--r-- | src/wc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, "-"); |