home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.904 < prev    next >
Encoding:
Internet Message Format  |  2013-04-14  |  1.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.904
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.904 (after 7.3.893)
  11. Problem:    Using memory freed by the garbage collector.
  12. Solution:   Mark items in aucmd_win as used.
  13. Files:        src/eval.c
  14.  
  15.  
  16. *** ../vim-7.3.903/src/eval.c    2013-04-15 15:15:31.000000000 +0200
  17. --- src/eval.c    2013-04-15 18:20:35.000000000 +0200
  18. ***************
  19. *** 6792,6797 ****
  20. --- 6792,6801 ----
  21.       /* window-local variables */
  22.       FOR_ALL_TAB_WINDOWS(tp, wp)
  23.       set_ref_in_item(&wp->w_winvar.di_tv, copyID);
  24. + #ifdef FEAT_AUTOCMD
  25. +     if (aucmd_win != NULL)
  26. +     set_ref_in_item(&aucmd_win->w_winvar.di_tv, copyID);
  27. + #endif
  28.   
  29.   #ifdef FEAT_WINDOWS
  30.       /* tabpage-local variables */
  31. *** ../vim-7.3.903/src/version.c    2013-04-15 16:14:15.000000000 +0200
  32. --- src/version.c    2013-04-15 18:21:49.000000000 +0200
  33. ***************
  34. *** 730,731 ****
  35. --- 730,733 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     904,
  39.   /**/
  40.  
  41. -- 
  42. Rule #1: Don't give somebody a tool that he's going to hurt himself with.
  43.  
  44.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  45. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  46. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  47.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  48.