]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sftp.c
Slight improvement to cursor blink timing: since the cursor doesn't
[PuTTY.git] / sftp.c
diff --git a/sftp.c b/sftp.c
index 4d5172b58da21489ef2e00434faadda8d6b05ba7..66e96b44c3e3a01c76ab64a607f5281c54e9ae67 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -334,6 +334,14 @@ static struct sftp_request *sftp_alloc_request(void)
     return r;
 }
 
+void sftp_cleanup_request(void)
+{
+    if (sftp_requests == NULL) {
+       freetree234(sftp_requests);
+       sftp_requests = NULL;
+    }
+}
+
 void sftp_register(struct sftp_request *req)
 {
     req->registered = 1;