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/asn1/bio_ndef.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/asn1/bio_ndef.c')
-rw-r--r-- | lib/libcrypto/asn1/bio_ndef.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/bio_ndef.c b/lib/libcrypto/asn1/bio_ndef.c index f00d38e5e4a..66be0251270 100644 --- a/lib/libcrypto/asn1/bio_ndef.c +++ b/lib/libcrypto/asn1/bio_ndef.c @@ -146,8 +146,7 @@ BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it) err: if (asn_bio) BIO_free(asn_bio); - if (ndef_aux) - free(ndef_aux); + free(ndef_aux); return NULL; } |