aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-14 15:05:12 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-14 16:10:09 +0800
commitcc7a50a9ae9384167bd0fc2ee2eb7f1b31842f27 (patch)
treec5a1834b6d8af6db02132b31d4bb994b95ab09d4 /src/nvim/eval.h
parent562840a2a16b4532f6d216c137506a7432c2e0e3 (diff)
downloadrneovim-cc7a50a9ae9384167bd0fc2ee2eb7f1b31842f27.tar.gz
rneovim-cc7a50a9ae9384167bd0fc2ee2eb7f1b31842f27.tar.bz2
rneovim-cc7a50a9ae9384167bd0fc2ee2eb7f1b31842f27.zip
vim-patch:8.2.1161: Vim9: using freed memory
Problem: Vim9: using freed memory. Solution: Put pointer back in evalarg instead of freeing it. https://github.com/vim/vim/commit/8e2730a315b8b06192f5fc822dc218dbb3cff7ae Omit eval_tofree_lambda: Vim9 script only. N/A patches for version.c: vim-patch:8.2.1163: build error Problem: Build error. Solution: Add missing change to globals. https://github.com/vim/vim/commit/6e13530ca03dd9cad245221177dd65f712211448 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index 4e0eb6ebb8..e9cdb108a8 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -275,7 +275,7 @@ typedef struct {
LineGetter eval_getline;
void *eval_cookie; ///< argument for eval_getline()
- /// pointer to the line obtained with getsourceline()
+ /// pointer to the last line obtained with getsourceline()
char *eval_tofree;
} evalarg_T;