diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libtls/tls_ocsp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libtls/tls_ocsp.c b/src/lib/libtls/tls_ocsp.c index 307ae842b8..17afb8e818 100644 --- a/src/lib/libtls/tls_ocsp.c +++ b/src/lib/libtls/tls_ocsp.c | |||
@@ -47,11 +47,9 @@ tls_ocsp_free(struct tls_ocsp *ocsp) | |||
47 | return; | 47 | return; |
48 | 48 | ||
49 | X509_free(ocsp->main_cert); | 49 | X509_free(ocsp->main_cert); |
50 | ocsp->main_cert = NULL; | ||
51 | free(ocsp->ocsp_result); | 50 | free(ocsp->ocsp_result); |
52 | ocsp->ocsp_result = NULL; | ||
53 | free(ocsp->ocsp_url); | 51 | free(ocsp->ocsp_url); |
54 | ocsp->ocsp_url = NULL; | 52 | |
55 | free(ocsp); | 53 | free(ocsp); |
56 | } | 54 | } |
57 | 55 | ||