]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.388 v7.3.388
authorBram Moolenaar <Bram@vim.org>
Fri, 30 Dec 2011 12:39:10 +0000 (13:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 30 Dec 2011 12:39:10 +0000 (13:39 +0100)
Problem:    Crash on exit when EXITFREE is defined and using tiny features.
Solution:   Check for NULL window pointer. (Dominique Pelle)

src/buffer.c
src/version.c

index 5b2ec6871fd5832555bd0bbed55814a4e2209457..2884b30381e8ea99a5b50f21bc3fd3c6907ba16e 100644 (file)
@@ -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 */
index 50532c201d78e06d65ea79ac58f74a16c1ee190d..9753d812ad2a844de047b5b2a50bafc51e428d6c 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    388,
 /**/
     387,
 /**/