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.
diff --git a/src/version.c b/src/version.c
index 085a182..fff7e69 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2768,
+/**/
2767,
/**/
2766,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 6286114..78c387f 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -6474,7 +6474,7 @@
{
semsg(_(e_cannot_use_range_with_assignment_operator_str),
var_start);
- return FAIL;
+ goto theend;
}
// Get the member.