projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free NULL cleanup 8
[openssl.git]
/
crypto
/
x509
/
x_attrib.c
diff --git
a/crypto/x509/x_attrib.c
b/crypto/x509/x_attrib.c
index a07a5da1398d560c02571503b6fccda49bd2c53a..9ff6dcc6878a18bc76ca3162247fca2e31aaf1b8 100644
(file)
--- a/
crypto/x509/x_attrib.c
+++ b/
crypto/x509/x_attrib.c
@@
-100,7
+100,6
@@
X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value)
err:
if (ret != NULL)
X509_ATTRIBUTE_free(ret);
- if (val != NULL)
- ASN1_TYPE_free(val);
+ ASN1_TYPE_free(val);
return (NULL);
}