Patch 8.2.0734
Problem: Vim9: leaking memory when using :finish.
Solution: Do not check for next line in third pass.
Files: src/scriptfile.c
*** ../vim-8.2.0733/src/scriptfile.c 2020-05-10 15:24:41.392262069 +0200
--- src/scriptfile.c 2020-05-10 23:10:22.335130069 +0200
***************
*** 1773,1779 ****
// Only concatenate lines starting with a \ when 'cpoptions' doesn't
// contain the 'C' flag.
! if (line != NULL && do_concat && vim_strchr(p_cpo, CPO_CONCAT) == NULL)
{
// compensate for the one line read-ahead
--sp->sourcing_lnum;
--- 1773,1783 ----
// Only concatenate lines starting with a \ when 'cpoptions' doesn't
// contain the 'C' flag.
! if (line != NULL && do_concat && vim_strchr(p_cpo, CPO_CONCAT) == NULL
! #ifdef FEAT_EVAL
! && sp->use_lines_ga < 0
! #endif
! )
{
// compensate for the one line read-ahead
--sp->sourcing_lnum;
*** ../vim-8.2.0733/src/version.c 2020-05-10 22:53:51.282678776 +0200
--- src/version.c 2020-05-10 23:11:06.926971366 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 734,
/**/
--
>From "know your smileys":
:-H Is missing teeth
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202005102112.04ALCI6O015863%40masaka.moolenaar.net.