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

This commit is contained in:
imp 2000-07-02 03:34:08 +00:00
parent 6e9089a719
commit 5ca3c88188

View File

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