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/pem/pvkfmt.c | |
| 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 '')
| -rw-r--r-- | src/lib/libcrypto/pem/pvkfmt.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) | |||
| 293 | ret = b2i_rsa(&p, length, bitlen, ispub); | 293 | ret = b2i_rsa(&p, length, bitlen, ispub); |
| 294 | 294 | ||
| 295 | err: | 295 | err: |
| 296 | if (buf) | 296 | free(buf); |
| 297 | free(buf); | ||
| 298 | return ret; | 297 | return ret; |
| 299 | } | 298 | } |
| 300 | 299 | ||
