HomeFreeBSD

Fix Coverity CID 978183 Resource leak in rexec().

Description

Fix Coverity CID 978183 Resource leak in rexec().

Close the socket if connect() fails to avoid leaking it.

Reported by: Coverity
CID: 978183
MFC after: 1 week

Details

Provenance
truckmanAuthored on
Parents
rS300663: Add ioat.4 missed in r300661.
Branches
Unknown
Tags
Unknown