summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/pcy_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/pcy_cache.c')
-rw-r--r--crypto/x509v3/pcy_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/x509v3/pcy_cache.c b/crypto/x509v3/pcy_cache.c
index c8f41f24bc..eff4291aab 100644
--- a/crypto/x509v3/pcy_cache.c
+++ b/crypto/x509v3/pcy_cache.c
@@ -209,8 +209,7 @@ static int policy_cache_new(X509 *x)
if (ext_pcons)
POLICY_CONSTRAINTS_free(ext_pcons);
- if (ext_any)
- ASN1_INTEGER_free(ext_any);
+ ASN1_INTEGER_free(ext_any);
return 1;