diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_lu.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_lu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c index 644ea83bac..cbbe8e86f8 100644 --- a/src/lib/libcrypto/x509/x509_lu.c +++ b/src/lib/libcrypto/x509/x509_lu.c | |||
| @@ -187,8 +187,10 @@ X509_STORE *X509_STORE_new(void) | |||
| 187 | ret->verify=0; | 187 | ret->verify=0; |
| 188 | ret->verify_cb=0; | 188 | ret->verify_cb=0; |
| 189 | 189 | ||
| 190 | if ((ret->param = X509_VERIFY_PARAM_new()) == NULL) | 190 | if ((ret->param = X509_VERIFY_PARAM_new()) == NULL) { |
| 191 | free(ret); | ||
| 191 | return NULL; | 192 | return NULL; |
| 193 | } | ||
| 192 | 194 | ||
| 193 | ret->get_issuer = 0; | 195 | ret->get_issuer = 0; |
| 194 | ret->check_issued = 0; | 196 | ret->check_issued = 0; |
