diff options
author | Michael Ennen <mike.ennen@gmail.com> | 2017-02-02 16:09:09 -0700 |
---|---|---|
committer | Michael Ennen <mike.ennen@gmail.com> | 2017-02-14 17:38:19 -0700 |
commit | 10c9ecc2117a69d2b83e983082f53c1779547035 (patch) | |
tree | 87684d2e8d0cffecd483e389a479ffa809c20289 /src/nvim/eval_defs.h | |
parent | ef8701610baa18ecf2568990eab4ecf02ca8f6c1 (diff) | |
download | rneovim-10c9ecc2117a69d2b83e983082f53c1779547035.tar.gz rneovim-10c9ecc2117a69d2b83e983082f53c1779547035.tar.bz2 rneovim-10c9ecc2117a69d2b83e983082f53c1779547035.zip |
vim-patch:8.0.0297
Problem: Double free on exit when using a closure. (James McCoy)
Solution: Split free_al_functions in two parts. (closes #1428)
https://github.com/vim/vim/commit/03ff9bcbc968f7d306e4a4e334e226fdde62ca82
Diffstat (limited to 'src/nvim/eval_defs.h')
-rw-r--r-- | src/nvim/eval_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval_defs.h b/src/nvim/eval_defs.h index 5214396f4d..a61ddb7605 100644 --- a/src/nvim/eval_defs.h +++ b/src/nvim/eval_defs.h @@ -164,6 +164,7 @@ struct ufunc { int uf_varargs; ///< variable nr of arguments int uf_flags; int uf_calls; ///< nr of active calls + bool uf_cleared; ///< func_clear() was already called garray_T uf_args; ///< arguments garray_T uf_lines; ///< function lines int uf_profiling; ///< true when func is being profiled |