Patch 7.4.1500
Problem:    Should_free flag set to FALSE.
Solution:   Set it to TRUE. (Neovim 4415)
Files:      src/ex_eval.c


*** ../vim-7.4.1499/src/ex_eval.c       2016-02-07 19:46:08.919714495 +0100
--- src/ex_eval.c       2016-03-06 14:54:41.688010021 +0100
***************
*** 432,438 ****
  
      if (type == ET_ERROR)
      {
!       *should_free = FALSE;
        mesg = ((struct msglist *)value)->throw_msg;
        if (cmdname != NULL && *cmdname != NUL)
        {
--- 432,438 ----
  
      if (type == ET_ERROR)
      {
!       *should_free = TRUE;
        mesg = ((struct msglist *)value)->throw_msg;
        if (cmdname != NULL && *cmdname != NUL)
        {
***************
*** 489,495 ****
      else
      {
        *should_free = FALSE;
!       ret = (char_u *) value;
      }
  
      return ret;
--- 489,495 ----
      else
      {
        *should_free = FALSE;
!       ret = (char_u *)value;
      }
  
      return ret;
*** ../vim-7.4.1499/src/version.c       2016-03-06 14:44:03.810733631 +0100
--- src/version.c       2016-03-06 14:57:36.790165599 +0100
***************
*** 745,746 ****
--- 745,748 ----
  {   /* Add new patch number below this line */
+ /**/
+     1500,
  /**/

-- 
For society, it's probably a good thing that engineers value function over
appearance.  For example, you wouldn't want engineers to build nuclear power
plants that only _look_ like they would keep all the radiation inside.
                                (Scott Adams - The Dilbert principle)

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui