]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Free `fstatus' so there is no confusion about
authorJim Meyering <jim@meyering.net>
Thu, 6 Nov 2003 09:28:13 +0000 (09:28 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 6 Nov 2003 09:28:13 +0000 (09:28 +0000)
whether it's leaked or not.

src/wc.c

index 061b4650044657f59d5e71a1af67bb5d4628c24a..b19a9c28b55f7bde3ce321d4b01ecfd7949ff1ce 100644 (file)
--- 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, "-");