aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_x509.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-04 20:25:25 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-04 20:25:25 -0400
commiteeba944ee0a642ef105b639f1bb0580fae28d3ab (patch)
tree6b7a8f188fca140b81c3d1ea845ff12ca1192f71 /src/test/test_x509.c
parent0db5c549571eb0098a3f709ffb25c2e4909ca01d (diff)
downloadtor-eeba944ee0a642ef105b639f1bb0580fae28d3ab.tar.gz
tor-eeba944ee0a642ef105b639f1bb0580fae28d3ab.zip
Fix an easy refcounting bug in a unit test
Diffstat (limited to 'src/test/test_x509.c')
-rw-r--r--src/test/test_x509.c1
1 files changed, 0 insertions, 1 deletions
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();
}