Fix fd leaks when fd < 0 or flock() fails. Original diff from
authorkrw <krw@openbsd.org>
Sun, 29 Dec 2013 14:26:22 +0000 (14:26 +0000)
committerkrw <krw@openbsd.org>
Sun, 29 Dec 2013 14:26:22 +0000 (14:26 +0000)
commit95cb4a2f3b91e1e26a4f74ba950015833e59deaa
treea781fcaf3a8880da8ac3df5a9864cbd3d01b5268
parent070eb321301fd65b301249fbe659c3e847a5fccb
Fix fd leaks when fd < 0 or flock() fails. Original diff from
NetBSD via Loganaden Velvindron out of cppcheck.
usr.sbin/lpr/lpc/cmds.c