diff options
author | truckman <truckman@FreeBSD.org> | 2016-06-01 17:41:00 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-06-01 17:41:00 +0000 |
commit | aa1356cf2436c7695cc65a5a27bc635c22c21761 (patch) | |
tree | c84d6bef82f79dd15d724a38027231e494c19805 /lib/libfetch/file.c | |
parent | fa7d0f23a5adc1d2f858496ce03e3c066f8a0e91 (diff) | |
download | FreeBSD-src-aa1356cf2436c7695cc65a5a27bc635c22c21761.zip FreeBSD-src-aa1356cf2436c7695cc65a5a27bc635c22c21761.tar.gz |
MFC r300664
Fix Coverity CID 978183 Resource leak in rexec().
Close the socket if connect() fails to avoid leaking it.
Reported by: Coverity
CID: 978183
Diffstat (limited to 'lib/libfetch/file.c')
0 files changed, 0 insertions, 0 deletions