mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Free a BIO_ADDR if DTLSv1_listen return <=0
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
5bf7c7725b
commit
a3768e0c9b
@ -2481,6 +2481,8 @@ static int init_ssl_connection(SSL *con)
|
||||
BIO_ADDR_free(client);
|
||||
dtlslisten = 0;
|
||||
i = SSL_accept(con);
|
||||
} else {
|
||||
BIO_ADDR_free(client);
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user