Patch 9.0.0069 (after 9.0.0067)
Problem: Leaking memory when using text prop with inserted text.
Solution: Clear the growarray with text.
Files: src/buffer.c
*** ../vim-9.0.0068/src/buffer.c 2022-06-29 10:37:14.938302547 +0100
--- src/buffer.c 2022-07-25 19:04:39.974051808 +0100
***************
*** 1004,1009 ****
--- 1004,1012 ----
#ifdef FEAT_NETBEANS_INTG
netbeans_file_killed(buf);
#endif
+ #ifdef FEAT_PROP_POPUP
+ ga_clear_strings(&buf->b_textprop_text);
+ #endif
map_clear_mode(buf, MAP_ALL_MODES, TRUE, FALSE); // clear local mappings
map_clear_mode(buf, MAP_ALL_MODES, TRUE, TRUE); // clear local abbrevs
VIM_CLEAR(buf->b_start_fenc);
*** ../vim-9.0.0068/src/version.c 2022-07-25 18:35:12.002814240 +0100
--- src/version.c 2022-07-25 19:06:43.797966441 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 69,
/**/
--
hundred-and-one symptoms of being an internet addict:
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///