diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2017-03-20 01:03:05 +0000 |
---|---|---|
committer | Daniel Pinto <danielpinto52@gmail.com> | 2017-03-20 01:03:05 +0000 |
commit | e843481bf5e944840c449ab4eb63eb357648d8e5 (patch) | |
tree | 7fcfc3c7cb1782665a76d837923b79e5d2e36c4b | |
parent | 411736a13250586c03ca75a268a458a52ee731ae (diff) | |
download | tor-e843481bf5e944840c449ab4eb63eb357648d8e5.tar.gz tor-e843481bf5e944840c449ab4eb63eb357648d8e5.zip |
Fix very small memory leak #21788
Leak caused by clean_up_backtrace_handler not being called
on shutdown.
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 894fd054b9..5b73aea70c 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -3186,6 +3186,7 @@ tor_free_all(int postfork) if (!postfork) { escaped(NULL); esc_router_info(NULL); + clean_up_backtrace_handler(); logs_free_all(); /* free log strings. do this last so logs keep working. */ } } |