diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-12-30 13:39:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-12-30 13:39:10 +0100 |
commit | 83bac4c31a8ed61eb72e41d58c1e61f944e58499 (patch) | |
tree | 71ce8e07ae7fd99e5d68933410a8a570ef409f84 /src/buffer.c | |
parent | b6b046b281fac168a78b3eafdea9274bef06882f (diff) | |
download | vim-git-83bac4c31a8ed61eb72e41d58c1e61f944e58499.tar.gz |
updated for version 7.3.388v7.3.388
Problem: Crash on exit when EXITFREE is defined and using tiny features.
Solution: Check for NULL window pointer. (Dominique Pelle)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |