[tor-commits] [tor/master] Fix an easy refcounting bug in a unit test

nickm at torproject.org nickm at torproject.org
Wed Sep 5 00:47:14 UTC 2018


commit eeba944ee0a642ef105b639f1bb0580fae28d3ab
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Sep 4 20:25:25 2018 -0400

    Fix an easy refcounting bug in a unit test
---
 src/test/test_x509.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/test/test_x509.c b/src/test/test_x509.c
index 9ec0657d8..4f814129e 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();
 }





More information about the tor-commits mailing list