[tor-commits] [tor/master] attempt to fix crashes in unit tests

nickm at torproject.org nickm at torproject.org
Wed Jan 27 14:42:14 UTC 2016


commit 1a022525f7bac18b29e089a3e197ea4f0961a5d8
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Jan 27 09:42:08 2016 -0500

    attempt to fix crashes in unit tests
---
 src/test/test_options.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/test_options.c b/src/test/test_options.c
index e00c802..4bae065 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -915,7 +915,7 @@ test_options_validate__authdir(void *ignored)
 
  done:
   teardown_capture_of_logs(previous_log);
-  sandbox_free_getaddrinfo_cache();
+  //  sandbox_free_getaddrinfo_cache();
   free_options_test_data(tdata);
   tor_free(msg);
 }
@@ -3088,7 +3088,7 @@ test_options_validate__proxy(void *ignored)
   free_options_test_data(tdata);
   memarea_clear_freelist();
   policies_free_all();
-  sandbox_free_getaddrinfo_cache();
+  // sandbox_free_getaddrinfo_cache();
   tor_free(msg);
 }
 



More information about the tor-commits mailing list