From: simon Date: Fri, 25 Feb 2005 09:59:24 +0000 (+0000) Subject: Per Gunnar Floe spotted a reversed test in sftp_cleanup_requests(). X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/f7d0793d9e47248aa62070048be78db826d397c6 Per Gunnar Floe spotted a reversed test in sftp_cleanup_requests(). git-svn-id: svn://svn.tartarus.org/sgt/putty@5394 cda61777-01e9-0310-a592-d414129be87e --- 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; }