diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-22 21:12:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-22 21:12:17 +0000 |
commit | e4cd58f507fd46d613ab7dfd04bff18eeb5b8b95 (patch) | |
tree | 0104aca4bba9f2c5c1040b5537390d7b77b0d2d2 /lib/libcrypto/cms/cms_sd.c | |
parent | e2aa95bd3f6319316d751c070fdd1173ea6432df (diff) |
if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully
eyeballed before applying. Contributed by Cyril Roelandt on tech@
Diffstat (limited to 'lib/libcrypto/cms/cms_sd.c')
-rw-r--r-- | lib/libcrypto/cms/cms_sd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/cms/cms_sd.c b/lib/libcrypto/cms/cms_sd.c index d852af596d3..976881743bc 100644 --- a/lib/libcrypto/cms/cms_sd.c +++ b/lib/libcrypto/cms/cms_sd.c @@ -759,8 +759,7 @@ int CMS_SignerInfo_sign(CMS_SignerInfo *si) return 1; err: - if (abuf) - free(abuf); + free(abuf); EVP_MD_CTX_cleanup(&mctx); return 0; |