commit | 83bac4c31a8ed61eb72e41d58c1e61f944e58499 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Dec 30 13:39:10 2011 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Dec 30 13:39:10 2011 +0100 |
tree | 71ce8e07ae7fd99e5d68933410a8a570ef409f84 | |
parent | b6b046b281fac168a78b3eafdea9274bef06882f [diff] [blame] |
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 */