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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202104151143.13FBhT91047903%40masaka.moolenaar.net.

Raspunde prin e-mail lui