Obvious memory leak in new fast download management. Oops.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 29 Sep 2003 15:39:36 +0000 (15:39 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 29 Sep 2003 15:39:36 +0000 (15:39 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3471 cda61777-01e9-0310-a592-d414129be87e

psftp.c

diff --git a/psftp.c b/psftp.c
index c1d4950..ca01f12 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -472,6 +472,8 @@ int sftp_general_get(struct sftp_command *cmd, int restart)
                ret = 0;
                xfer_set_error(xfer);
            }
+
+           sfree(vbuf);
        }
     }