summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_pci.c')
-rw-r--r--crypto/x509v3/v3_pci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/x509v3/v3_pci.c b/crypto/x509v3/v3_pci.c
index 5a937170f8..4139b34cbc 100644
--- a/crypto/x509v3/v3_pci.c
+++ b/crypto/x509v3/v3_pci.c
@@ -305,10 +305,7 @@ static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method,
pathlen = NULL;
goto end;
err:
- if (language) {
- ASN1_OBJECT_free(language);
- language = NULL;
- }
+ ASN1_OBJECT_free(language);
if (pathlen) {
ASN1_INTEGER_free(pathlen);
pathlen = NULL;