mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user