From e843481bf5e944840c449ab4eb63eb357648d8e5 Mon Sep 17 00:00:00 2001 From: Daniel Pinto Date: Mon, 20 Mar 2017 01:03:05 +0000 Subject: [PATCH] Fix very small memory leak #21788 Leak caused by clean_up_backtrace_handler not being called on shutdown. --- src/or/main.c | 1 + 1 file changed, 1 insertion(+) 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. */ } }