From e902c235ad5834006ae7e80bfe5c25b700609e0c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 25 Feb 2005 09:59:24 +0000 Subject: [PATCH] Per Gunnar Floe spotted a reversed test in sftp_cleanup_requests(). [originally from svn r5394] --- sftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }