GUACAMOLE-398: Use freeaddrinfo() instead of free() on the linked list.
This commit is contained in:
parent
e4dd8de4f1
commit
9200bc789f
@ -457,7 +457,7 @@ guac_common_ssh_session* guac_common_ssh_create_session(guac_client* client,
|
||||
if (fd < 0) {
|
||||
guac_client_abort(client, GUAC_PROTOCOL_STATUS_SERVER_ERROR,
|
||||
"Unable to create socket: %s", strerror(errno));
|
||||
free(addresses);
|
||||
freeaddrinfo(addresses);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user