X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/9621bbab1023b211d1ab0ee2f1039b0462b55812..32f46b5c30131a9ba5bbadd28da6425434aca47f:/cmdline.c diff --git a/cmdline.c b/cmdline.c index aafb6900..26f29c99 100644 --- a/cmdline.c +++ b/cmdline.c @@ -322,6 +322,7 @@ int cmdline_process_param(char *p, char *value, int need_save, Config *cfg) cfg->remote_cmd_ptr = command; cfg->remote_cmd_ptr2 = NULL; cfg->nopty = TRUE; /* command => no terminal */ + fclose(fp); } if (!strcmp(p, "-P")) { RETURN(2);