Patch 8.0.0371 (after 8.0.0365)
Problem:    Leaking memory when setting v:completed_item.
Solution:   Or the flags instead of setting them.
Files:      src/eval.c


*** ../vim-8.0.0370/src/eval.c  2017-02-23 19:00:28.508904228 +0100
--- src/eval.c  2017-02-25 21:33:30.890402599 +0100
***************
*** 6640,6646 ****
            if (HASHITEM_EMPTY(hi))
                continue;
            --todo;
!           HI2DI(hi)->di_flags = DI_FLAGS_RO | DI_FLAGS_FIX;
        }
      }
  }
--- 6640,6646 ----
            if (HASHITEM_EMPTY(hi))
                continue;
            --todo;
!           HI2DI(hi)->di_flags |= DI_FLAGS_RO | DI_FLAGS_FIX;
        }
      }
  }
*** ../vim-8.0.0370/src/version.c       2017-02-25 21:37:53.872571889 +0100
--- src/version.c       2017-02-25 21:38:50.224181115 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     371,
  /**/

-- 
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// 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