1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Per Gunnar Floe spotted a reversed test in sftp_cleanup_requests().

[originally from svn r5394]
This commit is contained in:
Simon Tatham 2005-02-25 09:59:24 +00:00
parent a519e8edfc
commit e902c235ad

2
sftp.c
View File

@ -349,7 +349,7 @@ static struct sftp_request *sftp_alloc_request(void)
void sftp_cleanup_request(void)
{
if (sftp_requests == NULL) {
if (sftp_requests != NULL) {
freetree234(sftp_requests);
sftp_requests = NULL;
}