X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/46cfeac8e5e6263f64f03028b98e27c0b09575f9..0aafb388296848047c641f4e382d3a7643684ad0:/sftp.c diff --git a/sftp.c b/sftp.c index 4d9810fc..cee7f8ea 100644 --- a/sftp.c +++ b/sftp.c @@ -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; }