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