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 5a
[openssl.git]
/
crypto
/
evp
/
p_lib.c
diff --git
a/crypto/evp/p_lib.c
b/crypto/evp/p_lib.c
index c9e971ed85ac692ab06a11c6728f247f402c74d7..c163e4782931459108ba98ac4a57b42992632f77 100644
(file)
--- a/
crypto/evp/p_lib.c
+++ b/
crypto/evp/p_lib.c
@@
-401,8
+401,7
@@
void EVP_PKEY_free(EVP_PKEY *x)
}
#endif
EVP_PKEY_free_it(x);
- if (x->attributes)
- sk_X509_ATTRIBUTE_pop_free(x->attributes, X509_ATTRIBUTE_free);
+ sk_X509_ATTRIBUTE_pop_free(x->attributes, X509_ATTRIBUTE_free);
OPENSSL_free(x);
}