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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220725180728.19C291C065D%40moolenaar.net.