projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free null cleanup finale
[openssl.git]
/
crypto
/
bio
/
bf_lbuf.c
diff --git
a/crypto/bio/bf_lbuf.c
b/crypto/bio/bf_lbuf.c
index ef12820b507ef0b1ed51636e7bdb0ede966bec92..d7906b419cfdb66e73f8dfe7812a912aa868699c 100644
(file)
--- 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;