diff --git a/src/common-ssh/ssh.c b/src/common-ssh/ssh.c index d3e1e42e..5ea6feab 100644 --- a/src/common-ssh/ssh.c +++ b/src/common-ssh/ssh.c @@ -457,6 +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)); + freeaddrinfo(addresses); return NULL; }