mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4040: keeping track of allocated lines is too complicated
Problem: Keeping track of allocated lines in user functions is too complicated. Solution: Instead of freeing individual lines keep them all until the end.
This commit is contained in:
@@ -587,7 +587,7 @@ ignore_error_for_testing(char_u *error)
|
||||
if (STRCMP("RESET", error) == 0)
|
||||
ga_clear_strings(&ignore_error_list);
|
||||
else
|
||||
ga_add_string(&ignore_error_list, error);
|
||||
ga_copy_string(&ignore_error_list, error);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Reference in New Issue
Block a user