]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix an easy refcounting bug in a unit test
authorNick Mathewson <nickm@torproject.org>
Wed, 5 Sep 2018 00:25:25 +0000 (20:25 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 5 Sep 2018 00:25:25 +0000 (20:25 -0400)
src/test/test_x509.c

index 9ec0657d8397373243fe521524ee12a9b31098e6..4f814129e564db44a914e6a8c31a5abdbb42b4e3 100644 (file)
@@ -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();
 }