diff options
author | miod <> | 2014-05-22 21:12:16 +0000 |
---|---|---|
committer | miod <> | 2014-05-22 21:12:16 +0000 |
commit | c34fac2dfaf2da90889ed845a5139c916868eea2 (patch) | |
tree | fd278ca4aaae51bbb11f6b3d67d862d9827370bc /src/lib/libcrypto/pkcs7 | |
parent | 5f35ad01d525b3834ce610866244a942ee37c441 (diff) | |
download | openbsd-c34fac2dfaf2da90889ed845a5139c916868eea2.tar.gz openbsd-c34fac2dfaf2da90889ed845a5139c916868eea2.tar.bz2 openbsd-c34fac2dfaf2da90889ed845a5139c916868eea2.zip |
if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully
eyeballed before applying. Contributed by Cyril Roelandt on tech@
Diffstat (limited to 'src/lib/libcrypto/pkcs7')
-rw-r--r-- | src/lib/libcrypto/pkcs7/pk7_doit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pkcs7/pk7_doit.c b/src/lib/libcrypto/pkcs7/pk7_doit.c index 5aa4a914cf..0f5d747927 100644 --- a/src/lib/libcrypto/pkcs7/pk7_doit.c +++ b/src/lib/libcrypto/pkcs7/pk7_doit.c | |||
@@ -190,8 +190,7 @@ static int pkcs7_encode_rinfo(PKCS7_RECIP_INFO *ri, | |||
190 | EVP_PKEY_free(pkey); | 190 | EVP_PKEY_free(pkey); |
191 | if (pctx) | 191 | if (pctx) |
192 | EVP_PKEY_CTX_free(pctx); | 192 | EVP_PKEY_CTX_free(pctx); |
193 | if (ek) | 193 | free(ek); |
194 | free(ek); | ||
195 | return ret; | 194 | return ret; |
196 | 195 | ||
197 | } | 196 | } |