forked from aniani/vim
patch 8.2.3560: using freed memory with lambda
Problem: Using freed memory with lambda. Solution: Do not free lines early, keep them until the expression is finished.
This commit is contained in:
@@ -1867,8 +1867,8 @@ EXTERN listitem_T range_list_item;
|
||||
// Passed to an eval() function to enable evaluation.
|
||||
EXTERN evalarg_T EVALARG_EVALUATE
|
||||
# ifdef DO_INIT
|
||||
= {EVAL_EVALUATE, 0, NULL, NULL, NULL, NULL, {0, 0, 0, 0, NULL},
|
||||
{0, 0, 0, 0, NULL}, NULL, NULL, NULL}
|
||||
= {EVAL_EVALUATE, 0, NULL, NULL, NULL, NULL, GA_EMPTY, GA_EMPTY, NULL,
|
||||
{0, 0, (int)sizeof(char_u *), 20, NULL}, 0, NULL}
|
||||
# endif
|
||||
;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user