Patch 7.3.904 (after 7.3.893)
Problem:    Using memory freed by the garbage collector.
Solution:   Mark items in aucmd_win as used.
Files:      src/eval.c


*** ../vim-7.3.903/src/eval.c   2013-04-15 15:15:31.000000000 +0200
--- src/eval.c  2013-04-15 18:20:35.000000000 +0200
***************
*** 6792,6797 ****
--- 6792,6801 ----
      /* window-local variables */
      FOR_ALL_TAB_WINDOWS(tp, wp)
        set_ref_in_item(&wp->w_winvar.di_tv, copyID);
+ #ifdef FEAT_AUTOCMD
+     if (aucmd_win != NULL)
+       set_ref_in_item(&aucmd_win->w_winvar.di_tv, copyID);
+ #endif
  
  #ifdef FEAT_WINDOWS
      /* tabpage-local variables */
*** ../vim-7.3.903/src/version.c        2013-04-15 16:14:15.000000000 +0200
--- src/version.c       2013-04-15 18:21:49.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     904,
  /**/

-- 
Rule #1: Don't give somebody a tool that he's going to hurt himself with.

 /// 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/groups/opt_out.


Raspunde prin e-mail lui