summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_prn.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_prn.c')
-rw-r--r--crypto/x509v3/v3_prn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_prn.c b/crypto/x509v3/v3_prn.c
index 9d093a364d..633dacafc2 100644
--- a/crypto/x509v3/v3_prn.c
+++ b/crypto/x509v3/v3_prn.c
@@ -176,8 +176,7 @@ int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag,
err:
sk_CONF_VALUE_pop_free(nval, X509V3_conf_free);
- if (value)
- OPENSSL_free(value);
+ OPENSSL_free(value);
if (method->it)
ASN1_item_free(ext_str, ASN1_ITEM_ptr(method->it));
else