summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-07-15 14:39:14 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-07-15 14:39:14 +0000
commit8fb80ed86b493cc794580221cb85ac972648c47d (patch)
tree014330c5bd645836c65c3b188a22fb099d785f48 /share
parentff38cdef117670e8307755537aa36200ceb3df6c (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