X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=ssl%2Fssl_lib.c;h=359260e1f561475b67e28ae5d7f893dd6a9e9d4c;hb=e70656cf1c9e886344913444fe2f3a0b7d3721a9;hp=d4b83359061e2fb5c73237c24a7b69f3cde9b288;hpb=e417070c9f2162594e8289aed93bd5801e70e60d;p=openssl.git diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index d4b8335906..359260e1f5 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -948,9 +948,9 @@ void SSL_free(SSL *s) BIO_free(s->bbio); s->bbio = NULL; } - BIO_free_all(s->rbio); if (s->wbio != s->rbio) BIO_free_all(s->wbio); + BIO_free_all(s->rbio); BUF_MEM_free(s->init_buf);