提交 a3768e0c 编写于 作者: M Matt Caswell

Free a BIO_ADDR if DTLSv1_listen return <=0

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 5bf7c772
...@@ -2481,6 +2481,8 @@ static int init_ssl_connection(SSL *con) ...@@ -2481,6 +2481,8 @@ static int init_ssl_connection(SSL *con)
BIO_ADDR_free(client); BIO_ADDR_free(client);
dtlslisten = 0; dtlslisten = 0;
i = SSL_accept(con); i = SSL_accept(con);
} else {
BIO_ADDR_free(client);
} }
} else } else
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册