mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 20:53:30 +08:00
QUIC: prevented BIO leak in case of error.
This commit is contained in:
parent
476d6526b2
commit
0864cca4d7
@ -391,6 +391,7 @@ SSL_set_quic_method(SSL *ssl, const SSL_QUIC_METHOD *quic_method)
|
|||||||
|
|
||||||
wbio = BIO_new(BIO_s_null());
|
wbio = BIO_new(BIO_s_null());
|
||||||
if (wbio == NULL) {
|
if (wbio == NULL) {
|
||||||
|
BIO_free(rbio);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user