Patch 8.2.2768

2 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 15, 2021, 7:43:37 AM4/15/21
to vim...@googlegroups.com

Patch 8.2.2768
Problem: Vim9: memory leak with blob range error.
Solution: Jump to end instead of returning.
Files: src/vim9compile.c


*** ../vim-8.2.2767/src/vim9compile.c 2021-04-14 20:52:49.197591750 +0200
--- src/vim9compile.c 2021-04-15 13:37:20.288380990 +0200
***************
*** 6474,6480 ****
{
semsg(_(e_cannot_use_range_with_assignment_operator_str),
var_start);
! return FAIL;
}

// Get the member.
--- 6474,6480 ----
{
semsg(_(e_cannot_use_range_with_assignment_operator_str),
var_start);
! goto theend;
}

// Get the member.
*** ../vim-8.2.2767/src/version.c 2021-04-14 21:30:02.927966474 +0200
--- src/version.c 2021-04-15 13:38:38.167867249 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2768,
/**/

--
hundred-and-one symptoms of being an internet addict:
97. Your mother tells you to remember something, and you look for
a File/Save command.

/// 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 ///
Reply all
Reply to author
Forward
0 new messages