fix fd leak by close(fd) at end of loop.

This commit is contained in:
Warner Losh 2000-07-02 03:34:08 +00:00
parent f8ca1b7655
commit 9fb5801442

View File

@ -150,6 +150,7 @@ main(int argc, char **argv)
}
}
fail:
close(fd);
argc--;
argv++;
}