aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-06-24 08:53:52 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-06-24 13:51:37 -0400
commit25a451bac748fd01498d3b851d4f1a5e556eaf32 (patch)
tree460d744c55399d34bf360a8eb4b2a763e713a964 /src/app/config/config.h
parent5895aafe7ed86bded4c5a597113a616db7c0a44f (diff)
downloadtor-25a451bac748fd01498d3b851d4f1a5e556eaf32.tar.gz
tor-25a451bac748fd01498d3b851d4f1a5e556eaf32.zip
addr: Set out parameters to NULL in resolve_addr.c
By doing this, a memory leak was found with "hostname_used" that could have been overwritten by another function. This commit changes that by making it a NULL string instead. Found by nickm's review. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/app/config/config.h')
0 files changed, 0 insertions, 0 deletions