diff options
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 | ||
