소스 검색

Fix an easy refcounting bug in a unit test

Nick Mathewson 8 년 전
부모
커밋
eeba944ee0
1개의 변경된 파일과 0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/test/test_x509.c

+ 0 - 1
src/test/test_x509.c

@@ -57,7 +57,6 @@ test_x509_cert_new_failing_digest(void *arg)
  done:
  done:
   crypto_pk_free(pk1);
   crypto_pk_free(pk1);
   crypto_pk_free(pk2);
   crypto_pk_free(pk2);
-  tor_x509_cert_impl_free(impl);
   UNMOCK(crypto_digest);
   UNMOCK(crypto_digest);
   teardown_capture_of_logs();
   teardown_capture_of_logs();
 }
 }