diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-29 16:00:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-04 14:52:35 -0400 |
commit | b892133fb9307aba2b9e7931472b9ad9a1628bb2 (patch) | |
tree | 65a66de9fe8b1fb3d73247b6bf4190679d683f9f /src/test/test_dir_handle_get.c | |
parent | f46a7eafb88494922f331d198500f94dee0a6d8e (diff) | |
download | tor-b892133fb9307aba2b9e7931472b9ad9a1628bb2.tar.gz tor-b892133fb9307aba2b9e7931472b9ad9a1628bb2.zip |
Do not leave a certificate allocated after testing dirvote_add()
Diffstat (limited to 'src/test/test_dir_handle_get.c')
-rw-r--r-- | src/test/test_dir_handle_get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index 571b0386e2..09799a0e5f 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 }; - |