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 5b2ec68..2884b30 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -419,6 +419,8 @@
     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 */