diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-07-15 14:39:14 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-07-15 14:39:14 +0000 |
commit | 8fb80ed86b493cc794580221cb85ac972648c47d (patch) | |
tree | 014330c5bd645836c65c3b188a22fb099d785f48 /share | |
parent | ff38cdef117670e8307755537aa36200ceb3df6c (diff) |
Fix memory leaks that can occur when config_getserver() fails.
config.c r1.34 and r1.30 introduced potential memory leaks for auth and
return_uri when config_getserver fails. Fix this by switching to
serverconfig_free() and adding the missing free for srv_conf->auth.
While here, make serverconfig_free() a little more bulletproof by
explicit_bzero()ing key material.
ok reyk@
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions