summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libtls/tls_ocsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libtls/tls_ocsp.c b/src/lib/libtls/tls_ocsp.c
index a7aca37a7d..13196bc1fc 100644
--- a/src/lib/libtls/tls_ocsp.c
+++ b/src/lib/libtls/tls_ocsp.c
@@ -46,6 +46,8 @@ tls_ocsp_free(struct tls_ocsp *ocsp)
46 if (ocsp == NULL) 46 if (ocsp == NULL)
47 return; 47 return;
48 48
49 X509_free(ocsp->main_cert);
50 ocsp->main_cert = NULL;
49 free(ocsp->ocsp_result); 51 free(ocsp->ocsp_result);
50 ocsp->ocsp_result = NULL; 52 ocsp->ocsp_result = NULL;
51 free(ocsp->ocsp_url); 53 free(ocsp->ocsp_url);