mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix very small memory leak #21788
Leak caused by clean_up_backtrace_handler not being called on shutdown.
This commit is contained in:
parent
411736a132
commit
e843481bf5
@ -3186,6 +3186,7 @@ tor_free_all(int postfork)
|
|||||||
if (!postfork) {
|
if (!postfork) {
|
||||||
escaped(NULL);
|
escaped(NULL);
|
||||||
esc_router_info(NULL);
|
esc_router_info(NULL);
|
||||||
|
clean_up_backtrace_handler();
|
||||||
logs_free_all(); /* free log strings. do this last so logs keep working. */
|
logs_free_all(); /* free log strings. do this last so logs keep working. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user