Fix BIO_new_ssl_connect() to not leak memory
authorNan Xiao <nan@chinadtrace.org>
Mon, 29 Mar 2021 04:24:08 +0000 (12:24 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 30 Mar 2021 16:53:35 +0000 (18:53 +0200)
commitfd988967bb14ce49b01c399b5d2c466852c105e4
treec988e5dfc23490460897aac86d7ceab049e86832
parent122e5f7c010859f0b2984d553fa45cd1f18a6fc4
Fix BIO_new_ssl_connect() to not leak memory

CLA: trivial

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14719)

(cherry picked from commit 7947a1eb13c221bbc034796bd394ba00b0e2387d)
ssl/bio_ssl.c