Fix an easy refcounting bug in a unit test

This commit is contained in:
Nick Mathewson 2018-09-04 20:25:25 -04:00
parent 0db5c54957
commit eeba944ee0

View File

@ -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();
} }