提交 d6accd50 编写于 作者: R Richard Levitte

Fix forgotten goto

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 df0aa777
......@@ -1742,6 +1742,7 @@ int s_client_main(int argc, char **argv)
if ((peer_info.addr = BIO_ADDR_new()) == NULL) {
BIO_printf(bio_err, "memory allocation failure\n");
BIO_closesocket(s);
goto end;
}
if (!BIO_sock_info(s, BIO_SOCK_INFO_ADDRESS, &peer_info)) {
BIO_printf(bio_err, "getsockname:errno=%d\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册