Mercurial > vim
comparison src/evalfunc.c @ 11690:ce434212d682 v8.0.0728
patch 8.0.0728: the terminal structure is never freed
commit https://github.com/vim/vim/commit/96ca27a0ee8ae738cab9fb386984c75c6821e31a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 17 23:20:24 2017 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 17 Jul 2017 23:30:03 +0200 |
parents | 3b2afa2b77b3 |
children | 5a07a3ff56c1 |
comparison
equal
deleted
inserted
replaced
11689:d0213284cfb4 | 11690:ce434212d682 |
---|---|
6770 f_job_stop(typval_T *argvars, typval_T *rettv) | 6770 f_job_stop(typval_T *argvars, typval_T *rettv) |
6771 { | 6771 { |
6772 job_T *job = get_job_arg(&argvars[0]); | 6772 job_T *job = get_job_arg(&argvars[0]); |
6773 | 6773 |
6774 if (job != NULL) | 6774 if (job != NULL) |
6775 rettv->vval.v_number = job_stop(job, argvars); | 6775 rettv->vval.v_number = job_stop(job, argvars, NULL); |
6776 } | 6776 } |
6777 #endif | 6777 #endif |
6778 | 6778 |
6779 /* | 6779 /* |
6780 * "join()" function | 6780 * "join()" function |