diff options
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 4b6bfaa13..c7be082fa 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -11832,6 +11832,7 @@ get_cmd_output_as_rettv( if (buf == NULL) { EMSGN(_(e_nobufnr), argvars[1].vval.v_number); + fclose(fd); goto errret; } |