projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free cleanup 12
[openssl.git]
/
crypto
/
x509v3
/
v3_ncons.c
diff --git
a/crypto/x509v3/v3_ncons.c
b/crypto/x509v3/v3_ncons.c
index c66e08042d4109e1de5fe9f4a09eb8df63dd3303..1e6fae80814f6cf983f9688732cce6221b62c76f 100644
(file)
--- a/
crypto/x509v3/v3_ncons.c
+++ b/
crypto/x509v3/v3_ncons.c
@@
-149,10
+149,8
@@
static void *v2i_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method,
memerr:
X509V3err(X509V3_F_V2I_NAME_CONSTRAINTS, ERR_R_MALLOC_FAILURE);
err:
- if (ncons)
- NAME_CONSTRAINTS_free(ncons);
- if (sub)
- GENERAL_SUBTREE_free(sub);
+ NAME_CONSTRAINTS_free(ncons);
+ GENERAL_SUBTREE_free(sub);
return NULL;
}