소스 검색

attempt to fix crashes in unit tests

Nick Mathewson 9 년 전
부모
커밋
1a022525f7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);
 }