0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.5146: memory leak when substitute expression nests

Problem:    Memory leak when substitute expression nests.
Solution:   Use an array of expression results.
This commit is contained in:
Bram Moolenaar
2022-06-21 22:15:25 +01:00
parent cf801d4b95
commit 44ddf19ec0
7 changed files with 77 additions and 23 deletions

View File

@@ -586,6 +586,9 @@ free_all_mem(void)
# ifdef FEAT_QUICKFIX
check_quickfix_busy();
# endif
# ifdef FEAT_EVAL
free_resub_eval_result();
# endif
}
#endif