0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.388

Problem:    Crash on exit when EXITFREE is defined and using tiny features.
Solution:   Check for NULL window pointer. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2011-12-30 13:39:10 +01:00
parent b6b046b281
commit 83bac4c31a
2 changed files with 4 additions and 0 deletions

View File

@@ -419,6 +419,8 @@ close_buffer(win, buf, action)
if ( if (
#ifdef FEAT_WINDOWS #ifdef FEAT_WINDOWS
win_valid(win) && win_valid(win) &&
#else
win != NULL &&
#endif #endif
win->w_buffer == buf) win->w_buffer == buf)
win->w_buffer = NULL; /* make sure we don't use the buffer now */ win->w_buffer = NULL; /* make sure we don't use the buffer now */

View File

@@ -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 */
/**/
388,
/**/ /**/
387, 387,
/**/ /**/