summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-17 23:20:24 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-17 23:20:24 +0200
commit96ca27a0ee8ae738cab9fb386984c75c6821e31a (patch)
treed4c986e7262a996a095f6b4b71601dfc361c57a5 /src/evalfunc.c
parent60d0e97497f1104b31f711072ef174af533b61fa (diff)
downloadvim-git-96ca27a0ee8ae738cab9fb386984c75c6821e31a.tar.gz
patch 8.0.0728: the terminal structure is never freedv8.0.0728
Problem: The terminal structure is never freed. Solution: Free the structure and unreference what it contains.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 428d7a4c5..33307e527 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -6772,7 +6772,7 @@ f_job_stop(typval_T *argvars, typval_T *rettv)
job_T *job = get_job_arg(&argvars[0]);
if (job != NULL)
- rettv->vval.v_number = job_stop(job, argvars);
+ rettv->vval.v_number = job_stop(job, argvars, NULL);
}
#endif