diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-04 14:37:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-04 14:52:35 -0400 |
commit | 274efb126324f3f8a7e98b15a697c0038a9803d0 (patch) | |
tree | 06b7ab7f8442c1885b39bbb571d0d59b99a00b61 /src/test/test_x509.c | |
parent | ad94d43fc50525e8814b6e99f78d4b9635fa80ca (diff) | |
download | tor-274efb126324f3f8a7e98b15a697c0038a9803d0.tar.gz tor-274efb126324f3f8a7e98b15a697c0038a9803d0.zip |
Use FREE_AND_NULL for impl types
Diffstat (limited to 'src/test/test_x509.c')
-rw-r--r-- | src/test/test_x509.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_x509.c b/src/test/test_x509.c index 9163977bd8..9ec0657d83 100644 --- a/src/test/test_x509.c +++ b/src/test/test_x509.c @@ -57,8 +57,7 @@ test_x509_cert_new_failing_digest(void *arg) done: crypto_pk_free(pk1); crypto_pk_free(pk2); - if (impl) - tor_x509_cert_impl_free_(impl); + tor_x509_cert_impl_free(impl); UNMOCK(crypto_digest); teardown_capture_of_logs(); } |