mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.0728: the terminal structure is never freed
Problem: The terminal structure is never freed.
Solution: Free the structure and unreference what it contains.
96ca27a0ee
This commit is contained in:
parent
5262a1f4b5
commit
4d6e99c949
@ -1550,7 +1550,7 @@ void enter_buffer(buf_T *buf)
|
|||||||
diff_buf_add(curbuf);
|
diff_buf_add(curbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
curwin->w_s = &(buf->b_s);
|
curwin->w_s = &(curbuf->b_s);
|
||||||
|
|
||||||
// Cursor on first line by default.
|
// Cursor on first line by default.
|
||||||
curwin->w_cursor.lnum = 1;
|
curwin->w_cursor.lnum = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user