commit b892133fb9307aba2b9e7931472b9ad9a1628bb2 Author: Nick Mathewson nickm@torproject.org Date: Wed Aug 29 16:00:49 2018 -0400
Do not leave a certificate allocated after testing dirvote_add() --- src/test/test_dir_handle_get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index 571b0386e..09799a0e5 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -2102,6 +2102,7 @@ test_dir_handle_get_status_vote_d(void* data)
clear_dir_servers(); dirvote_free_all(); + routerlist_free_all(); }
static void @@ -2638,4 +2639,3 @@ struct testcase_t dir_handle_get_tests[] = { DIR_HANDLE_CMD(parse_accept_encoding, 0), END_OF_TESTCASES }; -
tor-commits@lists.torproject.org