diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-31 08:41:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-31 08:45:17 -0400 |
commit | a67d153cc7493f918f93d2ddb9aa62a27b434e5e (patch) | |
tree | 1816944edf2e58e2e4bf4f38396cb9ca39c93e2f /changes/bug26948 | |
parent | 373b23a9ee80eb81a0d4db9fb6b742a602c8e82d (diff) | |
download | tor-a67d153cc7493f918f93d2ddb9aa62a27b434e5e.tar.gz tor-a67d153cc7493f918f93d2ddb9aa62a27b434e5e.zip |
Always call tor_free_all() when exiting tor_run_main()
We would usually call it through tor_cleanup(), but in some code
paths, we wouldn't. These paths would break restart-in-process,
since leaving fields uncleared would cause assertion failures on
restart.
Fixes bug 26948; bugfix on 0.3.3.1-alpha
Diffstat (limited to 'changes/bug26948')
-rw-r--r-- | changes/bug26948 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug26948 b/changes/bug26948 new file mode 100644 index 0000000000..0f0728843f --- /dev/null +++ b/changes/bug26948 @@ -0,0 +1,4 @@ + o Minor bugfixes (in-process restart): + - Always call tor_free_all() when leaving tor_run_main(). When we + did not, restarting tor in-process would cause an assertion failure. + Fixes bug 26948; bugfix on 0.3.3.1-alpha. |