forked from aniani/vim
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user