mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
vim-patch:7.4.369
Problem: Using freed memory when exiting while compiled with EXITFREE. Solution: Set curwin to NULL and check for that. (Dominique Pelle) https://code.google.com/p/vim/source/detail?r=v7-4-369
This commit is contained in:
@@ -4425,8 +4425,8 @@ linenr_T buf_delsign(
|
||||
}
|
||||
|
||||
/* When deleted the last sign needs to redraw the windows to remove the
|
||||
* sign column. */
|
||||
if (buf->b_signlist == NULL) {
|
||||
* sign column. Not when curwin is NULL (this means we're exiting). */
|
||||
if (buf->b_signlist != NULL && curwin != NULL) {
|
||||
redraw_buf_later(buf, NOT_VALID);
|
||||
changed_cline_bef_curs();
|
||||
}
|
||||
|
Reference in New Issue
Block a user