1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Double-free on mkdir error, spotted by Brian Hartsock.

[originally from svn r5929]
This commit is contained in:
Jacob Nevins 2005-06-08 15:14:47 +00:00
parent a7097f7e86
commit 9565f4f550

View File

@ -1399,7 +1399,6 @@ int sftp_cmd_mkdir(struct sftp_command *cmd)
if (!result) {
printf("mkdir %s: %s\n", dir, fxp_error());
sfree(dir);
ret = 0;
} else
printf("mkdir %s: OK\n", dir);