mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Missing free.
[originally from svn r9219]
This commit is contained in:
parent
1aeaff47a9
commit
31fd55edf1
@ -313,6 +313,7 @@ int cmdline_process_param(char *p, char *value, int need_save, Conf *conf)
|
|||||||
host = dupprintf("%.*s", portp - value, value);
|
host = dupprintf("%.*s", portp - value, value);
|
||||||
conf_set_str(conf, CONF_ssh_nc_host, host);
|
conf_set_str(conf, CONF_ssh_nc_host, host);
|
||||||
conf_set_int(conf, CONF_ssh_nc_port, atoi(portp + 1));
|
conf_set_int(conf, CONF_ssh_nc_port, atoi(portp + 1));
|
||||||
|
sfree(host);
|
||||||
}
|
}
|
||||||
if (!strcmp(p, "-m")) {
|
if (!strcmp(p, "-m")) {
|
||||||
char *filename, *command;
|
char *filename, *command;
|
||||||
|
Loading…
Reference in New Issue
Block a user