mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Per Gunnar Floe spotted a reversed test in sftp_cleanup_requests().
[originally from svn r5394]
This commit is contained in:
parent
a519e8edfc
commit
e902c235ad
2
sftp.c
2
sftp.c
@ -349,7 +349,7 @@ static struct sftp_request *sftp_alloc_request(void)
|
|||||||
|
|
||||||
void sftp_cleanup_request(void)
|
void sftp_cleanup_request(void)
|
||||||
{
|
{
|
||||||
if (sftp_requests == NULL) {
|
if (sftp_requests != NULL) {
|
||||||
freetree234(sftp_requests);
|
freetree234(sftp_requests);
|
||||||
sftp_requests = NULL;
|
sftp_requests = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user