1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Add an assortment of missing frees and closes.

Coverity's resource-leak checker is on the ball as usual.
This commit is contained in:
Simon Tatham
2017-02-14 20:42:26 +00:00
parent 33f4c8303f
commit 12a080874f
11 changed files with 37 additions and 0 deletions

1
pscp.c
View File

@ -383,6 +383,7 @@ static void do_cmd(char *host, char *user, char *cmd)
/* Use `host' as a bare hostname. */
conf_set_str(conf, CONF_host, host);
}
conf_free(conf2);
} else {
/* Patch in hostname `host' to session details. */
conf_set_str(conf, CONF_host, host);