mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
vim-patch:8.1.1259: crash when exiting early (#35552)
Problem: Crash when exiting early. (Ralf Schandl)
Solution: Only pop/push the title when it was set. (closes vim/vim#4334)
e5c83286bb
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -1053,7 +1053,9 @@ theend:
|
||||
void ex_comclear(exarg_T *eap)
|
||||
{
|
||||
uc_clear(&ucmds);
|
||||
uc_clear(&curbuf->b_ucmds);
|
||||
if (curbuf != NULL) {
|
||||
uc_clear(&curbuf->b_ucmds);
|
||||
}
|
||||
}
|
||||
|
||||
void free_ucmd(ucmd_T *cmd)
|
||||
|
Reference in New Issue
Block a user