Mercurial > vim
diff src/structs.h @ 24190:5f3a2d31c48d v8.2.2636
patch 8.2.2636: memory leak when compiling inline function
Commit: https://github.com/vim/vim/commit/67da21a14726b106b49744f9773eba132fedd5f2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 21 22:12:34 2021 +0100
patch 8.2.2636: memory leak when compiling inline function
Problem: Memory leak when compiling inline function.
Solution: Free the prefetched line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Mar 2021 22:15:03 +0100 |
parents | 44be09b25619 |
children | cabed216cc2f |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -1882,6 +1882,9 @@ typedef struct { // pointer to the last line obtained with getsourceline() char_u *eval_tofree; + // pointer to the last line of an inline function + char_u *eval_tofree_cmdline; + // pointer to the lines concatenated for a lambda. char_u *eval_tofree_lambda; } evalarg_T;