From c34fac2dfaf2da90889ed845a5139c916868eea2 Mon Sep 17 00:00:00 2001 From: miod <> Date: Thu, 22 May 2014 21:12:16 +0000 Subject: if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully eyeballed before applying. Contributed by Cyril Roelandt on tech@ --- src/lib/libcrypto/pem/pvkfmt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libcrypto/pem') diff --git a/src/lib/libcrypto/pem/pvkfmt.c b/src/lib/libcrypto/pem/pvkfmt.c index a7815a2372..2dca955a40 100644 --- a/src/lib/libcrypto/pem/pvkfmt.c +++ b/src/lib/libcrypto/pem/pvkfmt.c @@ -293,8 +293,7 @@ do_b2i_bio(BIO *in, int ispub) ret = b2i_rsa(&p, length, bitlen, ispub); err: - if (buf) - free(buf); + free(buf); return ret; } -- cgit v1.2.3-55-g6feb