Patch 8.2.0572 (after 8.2.0571)
Problem:    Using two lines for free and reset.
Solution:   Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
Files:      src/misc2.c


*** ../vim-8.2.0571/src/misc2.c 2020-04-13 17:44:43.616606625 +0200
--- src/misc2.c 2020-04-13 18:10:32.585753722 +0200
***************
*** 4356,4365 ****
            int i;
  
            for (i = 0; i < *argc; ++i)
!           {
!               vim_free((*argv)[i]);
!               (*argv)[i] = NULL;
!           }
            return FAIL;
        }
        (*argv)[*argc] = (char *)vim_strsave(s);
--- 4356,4362 ----
            int i;
  
            for (i = 0; i < *argc; ++i)
!               VIM_CLEAR((*argv)[i]);
            return FAIL;
        }
        (*argv)[*argc] = (char *)vim_strsave(s);
*** ../vim-8.2.0571/src/version.c       2020-04-13 17:44:43.620606615 +0200
--- src/version.c       2020-04-13 18:12:21.101275504 +0200
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     572,
  /**/

-- 
Kiss me twice.  I'm schizophrenic.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202004131613.03DGDxJg017912%40masaka.moolenaar.net.

Raspunde prin e-mail lui