(main): Free `fstatus' so there is no confusion about

whether it's leaked or not.
This commit is contained in:
Jim Meyering committed 2003-11-06 09:28:13 +00:00
1 parent c1f33f59f5
commit a5aaf05fbf
1 file changed
+2
+2
View File
@@ -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, "-");