QUIC: prevented BIO leak in case of error.

This commit is contained in:
Roman Arutyunyan 2024-11-22 11:38:06 +04:00 committed by pluknet
parent 5c8a92f1f0
commit 977824010f

View file

@ -391,6 +391,7 @@ SSL_set_quic_method(SSL *ssl, const SSL_QUIC_METHOD *quic_method)
wbio = BIO_new(BIO_s_null());
if (wbio == NULL) {
BIO_free(rbio);
return 0;
}