Browse Source

attempt to fix crashes in unit tests

Nick Mathewson 8 years ago
parent
commit
1a022525f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/test/test_options.c

+ 2 - 2
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);
 }