clear session->sftpInit_sftp unconditionally
This commit is contained in:
parent
c5f335ad4f
commit
0357ce6c48
@ -794,7 +794,6 @@ sftp_shutdown(LIBSSH2_SFTP *sftp)
|
|||||||
|
|
||||||
rc = _libssh2_channel_free(sftp->channel);
|
rc = _libssh2_channel_free(sftp->channel);
|
||||||
|
|
||||||
if (session->sftpInit_sftp)
|
|
||||||
/* the SFTP stuff is freed by the stored "destructor" as part of the
|
/* the SFTP stuff is freed by the stored "destructor" as part of the
|
||||||
channel free magic */
|
channel free magic */
|
||||||
session->sftpInit_sftp = NULL;
|
session->sftpInit_sftp = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user