aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-02-15 19:47:49 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-02-15 19:47:49 +0000
commit86fd2105dcebdecbcaf36d634d79515ace012e8f (patch)
tree37f5543da5b71369f4027b1157f054325c40346e /usr.sbin
parent3dc455e8974c1a4723f6703f47b2f667a61c934b (diff)
fetch(3): don't leak sockshost on failure
fetch_socks5_getenv will allocate memory for the host (or set it to NULL) in all cases through the function; the caller is responsible for freeing it if we end up allocating. While I'm here, I've eliminated a label that just jumps to the next line...
Notes
Notes: svn path=/head/; revision=357979
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions