remove unused ssh_string in ssh_channel_open_forward_unix

Signed-off-by: Rémi Coulom <remi.coulom@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Rémi Coulom
2025-07-25 10:19:16 +02:00
committed by Jakub Jelen
parent c2e9d39dbe
commit 8069679033

View File

@@ -1212,7 +1212,6 @@ int ssh_channel_open_forward_unix(ssh_channel channel,
{
ssh_session session = NULL;
ssh_buffer payload = NULL;
ssh_string str = NULL;
int rc = SSH_ERROR;
int version;
@@ -1259,7 +1258,6 @@ int ssh_channel_open_forward_unix(ssh_channel channel,
error:
SSH_BUFFER_FREE(payload);
SSH_STRING_FREE(str);
return rc;
}