From: Bram Moolenaar Date: Fri, 30 Dec 2011 12:39:10 +0000 (+0100) Subject: updated for version 7.3.388 X-Git-Tag: v7.3.388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83bac4c31a8ed61eb72e41d58c1e61f944e58499;p=vim 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 index 5b2ec6871..2884b3038 100644 --- 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 index 50532c201..9753d812a 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 388, /**/ 387, /**/