diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/bio/bss_bio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/bio/bss_bio.c b/src/lib/libcrypto/bio/bss_bio.c index eda2e2a55c..519002beed 100644 --- a/src/lib/libcrypto/bio/bss_bio.c +++ b/src/lib/libcrypto/bio/bss_bio.c | |||
@@ -160,12 +160,8 @@ bio_free(BIO *bio) | |||
160 | if (b->peer) | 160 | if (b->peer) |
161 | bio_destroy_pair(bio); | 161 | bio_destroy_pair(bio); |
162 | 162 | ||
163 | if (b->buf != NULL) { | 163 | free(b->buf); |
164 | free(b->buf); | ||
165 | } | ||
166 | |||
167 | free(b); | 164 | free(b); |
168 | |||
169 | return 1; | 165 | return 1; |
170 | } | 166 | } |
171 | 167 | ||