Skip to content
Snippets Groups Projects
Commit 3bb28557 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.3.904

Problem:    Using memory freed by the garbage collector.
Solution:   Mark items in aucmd_win as used.
parent a8565fec
No related branches found
Tags v7.3.904
No related merge requests found
......@@ -6792,6 +6792,10 @@ garbage_collect()
/* 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 */
......
......@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
904,
/**/
903,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment