diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libtls/tls_ocsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libtls/tls_ocsp.c b/lib/libtls/tls_ocsp.c index a7aca37a7df..13196bc1fca 100644 --- a/lib/libtls/tls_ocsp.c +++ b/lib/libtls/tls_ocsp.c @@ -46,6 +46,8 @@ tls_ocsp_free(struct tls_ocsp *ocsp) if (ocsp == NULL) return; + X509_free(ocsp->main_cert); + ocsp->main_cert = NULL; free(ocsp->ocsp_result); ocsp->ocsp_result = NULL; free(ocsp->ocsp_url); |