0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.2768: Vim9: memory leak with blob range error

Problem:    Vim9: memory leak with blob range error.
Solution:   Jump to end instead of returning.
This commit is contained in:
Bram Moolenaar
2021-04-15 13:42:21 +02:00
parent bd6406f15d
commit f387f5dfbc
2 changed files with 3 additions and 1 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2768,
/**/ /**/
2767, 2767,
/**/ /**/

View File

@@ -6474,7 +6474,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx)
{ {
semsg(_(e_cannot_use_range_with_assignment_operator_str), semsg(_(e_cannot_use_range_with_assignment_operator_str),
var_start); var_start);
return FAIL; goto theend;
} }
// Get the member. // Get the member.