[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix very small memory leak #21788
commit e843481bf5e944840c449ab4eb63eb357648d8e5
Author: Daniel Pinto <danielpinto52@xxxxxxxxx>
Date: Mon Mar 20 01:03:05 2017 +0000
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 894fd05..5b73aea 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. */
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits