GUAC-1389: Release candidate addresses of no connection can be established.
This commit is contained in:
parent
e42566816c
commit
c9346014df
@ -449,6 +449,7 @@ guac_common_ssh_session* guac_common_ssh_create_session(guac_client* client,
|
|||||||
if (current_address == NULL) {
|
if (current_address == NULL) {
|
||||||
guac_client_abort(client, GUAC_PROTOCOL_STATUS_UPSTREAM_ERROR,
|
guac_client_abort(client, GUAC_PROTOCOL_STATUS_UPSTREAM_ERROR,
|
||||||
"Unable to connect to any addresses.");
|
"Unable to connect to any addresses.");
|
||||||
|
freeaddrinfo(addresses);
|
||||||
close(fd);
|
close(fd);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user