summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bf_lbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bio/bf_lbuf.c')
-rw-r--r--crypto/bio/bf_lbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/bio/bf_lbuf.c b/crypto/bio/bf_lbuf.c
index ef12820b50..d7906b419c 100644
--- a/crypto/bio/bf_lbuf.c
+++ b/crypto/bio/bf_lbuf.c
@@ -128,8 +128,7 @@ static int linebuffer_free(BIO *a)
if (a == NULL)
return (0);
b = (BIO_LINEBUFFER_CTX *)a->ptr;
- if (b->obuf != NULL)
- OPENSSL_free(b->obuf);
+ OPENSSL_free(b->obuf);
OPENSSL_free(a->ptr);
a->ptr = NULL;
a->init = 0;