commit | 96ca27a0ee8ae738cab9fb386984c75c6821e31a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jul 17 23:20:24 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jul 17 23:20:24 2017 +0200 |
tree | d4c986e7262a996a095f6b4b71601dfc361c57a5 | |
parent | 60d0e97497f1104b31f711072ef174af533b61fa [diff] [blame] |
patch 8.0.0728: the terminal structure is never freed Problem: The terminal structure is never freed. Solution: Free the structure and unreference what it contains.
diff --git a/src/evalfunc.c b/src/evalfunc.c index 428d7a4..33307e5 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c
@@ -6772,7 +6772,7 @@ 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