diff options
Diffstat (limited to 'src/lib/libssl/src/crypto/asn1/x_info.c')
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/x_info.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/src/crypto/asn1/x_info.c b/src/lib/libssl/src/crypto/asn1/x_info.c index 99ce011f07..7fdc6f9dc8 100644 --- a/src/lib/libssl/src/crypto/asn1/x_info.c +++ b/src/lib/libssl/src/crypto/asn1/x_info.c | |||
@@ -106,7 +106,8 @@ void X509_INFO_free(X509_INFO *x) | |||
106 | if (x->x509 != NULL) X509_free(x->x509); | 106 | if (x->x509 != NULL) X509_free(x->x509); |
107 | if (x->crl != NULL) X509_CRL_free(x->crl); | 107 | if (x->crl != NULL) X509_CRL_free(x->crl); |
108 | if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey); | 108 | if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey); |
109 | Free((char *)x); | 109 | if (x->enc_data != NULL) Free(x->enc_data); |
110 | Free(x); | ||
110 | } | 111 | } |
111 | 112 | ||
112 | IMPLEMENT_STACK_OF(X509_INFO) | 113 | IMPLEMENT_STACK_OF(X509_INFO) |