mirror of
https://github.com/nginx/nginx.git
synced 2026-08-28 04:39:05 +00:00
QUIC: prevented BIO leak in case of error.
This commit is contained in:
parent
5c8a92f1f0
commit
977824010f
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue