# HG changeset patch # User Bram Moolenaar # Date 1325248750 -3600 # Node ID 683fab13904c115b4e1f8b9ecb902d192501245d # Parent 91e53bcb7946b654c7bf30406167ad4b3ead3430 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) diff --git a/src/buffer.c b/src/buffer.c --- a/src/buffer.c +++ b/src/buffer.c @@ -419,6 +419,8 @@ close_buffer(win, buf, action) if ( #ifdef FEAT_WINDOWS win_valid(win) && +#else + win != NULL && #endif win->w_buffer == buf) win->w_buffer = NULL; /* make sure we don't use the buffer now */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 388, +/**/ 387, /**/ 386,