diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-02-15 19:47:49 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-02-15 19:47:49 +0000 |
commit | 86fd2105dcebdecbcaf36d634d79515ace012e8f (patch) | |
tree | 37f5543da5b71369f4027b1157f054325c40346e /usr.sbin | |
parent | 3dc455e8974c1a4723f6703f47b2f667a61c934b (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