diff options
Diffstat (limited to 'lib/libcrypto/bio/bss_bio.c')
-rw-r--r-- | lib/libcrypto/bio/bss_bio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libcrypto/bio/bss_bio.c b/lib/libcrypto/bio/bss_bio.c index eda2e2a55c2..519002beed7 100644 --- a/lib/libcrypto/bio/bss_bio.c +++ b/lib/libcrypto/bio/bss_bio.c @@ -160,12 +160,8 @@ bio_free(BIO *bio) if (b->peer) bio_destroy_pair(bio); - if (b->buf != NULL) { - free(b->buf); - } - + free(b->buf); free(b); - return 1; } |