tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 5bee5fbac71f3534b8e1a19c742c2a61f686ca9d
parent d5eea977be405b984e651564736179df4b27b31c
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 30 Oct 2017 11:07:26 -0400

Merge remote-tracking branch 'public/bug23774_032' into maint-0.3.2

Diffstat:
Achanges/bug23774 | 4++++
Msrc/or/scheduler_kist.c | 1+
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/changes/bug23774 b/changes/bug23774 @@ -0,0 +1,4 @@ + o Minor bugfixes (memory leak): + - Fix a minor memory-leak-at-exit in the KIST scheduler. This + bug should have no user-visible impact. Fixes bug 23774; + bugfix on 0.3.2.1-alpha. diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c @@ -158,6 +158,7 @@ static void free_all_socket_info(void) { HT_FOREACH_FN(socket_table_s, &socket_table, free_socket_info_by_ent, NULL); + HT_CLEAR(socket_table_s, &socket_table); } static socket_table_ent_t *