diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-27 13:05:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-27 13:05:19 -0400 |
commit | 8812f562a03234723871b893f269db09e78654fc (patch) | |
tree | 1961cbeddd0e702585df9507e14d04d54db530ea /autogen.sh | |
parent | de0b07c634c45297bad794567cb44ab91988b0ca (diff) | |
download | tor-8812f562a03234723871b893f269db09e78654fc.tar.gz tor-8812f562a03234723871b893f269db09e78654fc.zip |
Fix a memory leak in --dump-config
When freeing a configuration object from confparse.c in
dump_config(), we need to call the appropriate higher-level free
function (like or_options_free()) and not just config_free().
This only happens with options (since they're the one where
options_validate allocates extra stuff) and only when running
--dump-config with something other than minimal (since
OPTIONS_DUMP_MINIMAL doesn't hit this code).
Fixes bug 27893; bugfix on 0.3.2.1-alpha.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions