Fix very small memory leak #21788

Leak caused by clean_up_backtrace_handler not being called
on shutdown.
This commit is contained in:
Daniel Pinto 2017-03-20 01:03:05 +00:00
parent 411736a132
commit e843481bf5

View File

@ -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. */
}
}