X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/f0f51e90dcb84e35046dd6683e29f15336a429fb..2fa6ce2cd497f14cde0e43c6096813bad2a4d9c9:/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);