mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.2636: memory leak when compiling inline function
Problem: Memory leak when compiling inline function. Solution: Free the prefetched line.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user