From: Nick Mathewson Date: Wed, 5 Sep 2018 00:25:25 +0000 (-0400) Subject: Fix an easy refcounting bug in a unit test X-Git-Tag: tor-0.3.5.1-alpha~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eeba944ee0a642ef105b639f1bb0580fae28d3ab;p=thirdparty%2Ftor.git Fix an easy refcounting bug in a unit test --- diff --git a/src/test/test_x509.c b/src/test/test_x509.c index 9ec0657d83..4f814129e5 100644 --- a/src/test/test_x509.c +++ b/src/test/test_x509.c @@ -57,7 +57,6 @@ test_x509_cert_new_failing_digest(void *arg) done: crypto_pk_free(pk1); crypto_pk_free(pk2); - tor_x509_cert_impl_free(impl); UNMOCK(crypto_digest); teardown_capture_of_logs(); }