]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Obvious memory leak in new fast download management. Oops.
authorSimon Tatham <anakin@pobox.com>
Mon, 29 Sep 2003 15:39:36 +0000 (15:39 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 29 Sep 2003 15:39:36 +0000 (15:39 +0000)
[originally from svn r3471]

psftp.c

diff --git a/psftp.c b/psftp.c
index c1d4950b5e8aa2101ec6f7410af039005f70d0cf..ca01f12a6688c1ea7d11b7f749e82efe0daa59a7 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);
        }
     }