|
Karsten Hopp |
941e2a |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
941e2a |
Subject: Patch 7.3.904
|
|
Karsten Hopp |
941e2a |
Fcc: outbox
|
|
Karsten Hopp |
941e2a |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
941e2a |
Mime-Version: 1.0
|
|
Karsten Hopp |
941e2a |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
941e2a |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
941e2a |
------------
|
|
Karsten Hopp |
941e2a |
|
|
Karsten Hopp |
941e2a |
Patch 7.3.904 (after 7.3.893)
|
|
Karsten Hopp |
941e2a |
Problem: Using memory freed by the garbage collector.
|
|
Karsten Hopp |
941e2a |
Solution: Mark items in aucmd_win as used.
|
|
Karsten Hopp |
941e2a |
Files: src/eval.c
|
|
Karsten Hopp |
941e2a |
|
|
Karsten Hopp |
941e2a |
|
|
Karsten Hopp |
941e2a |
*** ../vim-7.3.903/src/eval.c 2013-04-15 15:15:31.000000000 +0200
|
|
Karsten Hopp |
941e2a |
--- src/eval.c 2013-04-15 18:20:35.000000000 +0200
|
|
Karsten Hopp |
941e2a |
***************
|
|
Karsten Hopp |
941e2a |
*** 6792,6797 ****
|
|
Karsten Hopp |
941e2a |
--- 6792,6801 ----
|
|
Karsten Hopp |
941e2a |
/* window-local variables */
|
|
Karsten Hopp |
941e2a |
FOR_ALL_TAB_WINDOWS(tp, wp)
|
|
Karsten Hopp |
941e2a |
set_ref_in_item(&wp->w_winvar.di_tv, copyID);
|
|
Karsten Hopp |
941e2a |
+ #ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
941e2a |
+ if (aucmd_win != NULL)
|
|
Karsten Hopp |
941e2a |
+ set_ref_in_item(&aucmd_win->w_winvar.di_tv, copyID);
|
|
Karsten Hopp |
941e2a |
+ #endif
|
|
Karsten Hopp |
941e2a |
|
|
Karsten Hopp |
941e2a |
#ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
941e2a |
/* tabpage-local variables */
|
|
Karsten Hopp |
941e2a |
*** ../vim-7.3.903/src/version.c 2013-04-15 16:14:15.000000000 +0200
|
|
Karsten Hopp |
941e2a |
--- src/version.c 2013-04-15 18:21:49.000000000 +0200
|
|
Karsten Hopp |
941e2a |
***************
|
|
Karsten Hopp |
941e2a |
*** 730,731 ****
|
|
Karsten Hopp |
941e2a |
--- 730,733 ----
|
|
Karsten Hopp |
941e2a |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
941e2a |
+ /**/
|
|
Karsten Hopp |
941e2a |
+ 904,
|
|
Karsten Hopp |
941e2a |
/**/
|
|
Karsten Hopp |
941e2a |
|
|
Karsten Hopp |
941e2a |
--
|
|
Karsten Hopp |
941e2a |
Rule #1: Don't give somebody a tool that he's going to hurt himself with.
|
|
Karsten Hopp |
941e2a |
|
|
Karsten Hopp |
941e2a |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
941e2a |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
941e2a |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
941e2a |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|