mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.3.588
Problem: Crash on NULL pointer. Solution: Fix the immediate problem by checking for NULL. (Lech Lorens)
This commit is contained in:
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
588,
|
||||||
/**/
|
/**/
|
||||||
587,
|
587,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -2184,7 +2184,7 @@ win_close(win, free_buf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
if (win->w_closing || win->w_buffer->b_closing)
|
if (win->w_closing || (win->w_buffer != NULL && win->w_buffer->b_closing))
|
||||||
return; /* window is already being closed */
|
return; /* window is already being closed */
|
||||||
if (win == aucmd_win)
|
if (win == aucmd_win)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user