Skip to content

Commit

Permalink
patch 8.2.2768: Vim9: memory leak with blob range error
Browse files Browse the repository at this point in the history
Problem:    Vim9: memory leak with blob range error.
Solution:   Jump to end instead of returning.
  • Loading branch information
brammool committed Apr 15, 2021
1 parent bd6406f commit f387f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2768,
/**/
2767,
/**/
Expand Down
2 changes: 1 addition & 1 deletion src/vim9compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
var_start);
return FAIL;
goto theend;
}

// Get the member.
Expand Down

0 comments on commit f387f5d

Please sign in to comment.