diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-25 17:55:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-25 17:55:09 +0100 |
commit | 4882d983397057ea91c584c5a54aaccf15016d18 (patch) | |
tree | b793825c5fdfb96bb9ad2a1bae573026e0998e26 /src/proto/buffer.pro | |
parent | 89b693e5627715cde080c3580c7b641c9bf0c06a (diff) | |
download | vim-git-4882d983397057ea91c584c5a54aaccf15016d18.tar.gz |
patch 8.2.1905: the wininfo list may contain stale entriesv8.2.1905
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
Diffstat (limited to 'src/proto/buffer.pro')
-rw-r--r-- | src/proto/buffer.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro index 3a6329936..4d890ce45 100644 --- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -8,6 +8,7 @@ int buf_valid(buf_T *buf); void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort); void buf_clear_file(buf_T *buf); void buf_freeall(buf_T *buf, int flags); +void free_wininfo(wininfo_T *wip); void goto_buffer(exarg_T *eap, int start, int dir, int count); void handle_swap_exists(bufref_T *old_curbuf); char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit); |