changeset 24456:c70dcd5ab837 v8.2.2768

patch 8.2.2768: Vim9: memory leak with blob range error Commit: https://github.com/vim/vim/commit/f387f5dfbc5accbfbbbb87486f6af42a82acaa7d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 15 13:42:21 2021 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Apr 2021 13:45:04 +0200
parents 77ffd2ddef0c
children 23abff698ca5
files src/version.c src/vim9compile.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2768,
+/**/
     2767,
 /**/
     2766,
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -6474,7 +6474,7 @@ compile_assignment(char_u *arg, exarg_T 
 			    {
 				semsg(_(e_cannot_use_range_with_assignment_operator_str),
 								    var_start);
-				return FAIL;
+				goto theend;
 			    }
 
 			    // Get the member.