commit 332d6bf9010fff1c0bc912830f0641c1f21f42a6
parent d56b4e598b241fee3448090631731aa434eb64d6
Author: Nick Mathewson <nickm@torproject.org>
Date: Mon, 30 Oct 2017 11:07:44 -0400
Merge branch 'maint-0.3.2'
Diffstat:
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 *