mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00: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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user