patch 8.2.1770: invalid memory use when using SpellFileMissing autocmd
Problem: Invalid memory use when using SpellFileMissing autocmd. Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window that was closed.
This commit is contained in:
@ -2280,11 +2280,11 @@ did_set_spelllang(win_T *wp)
|
||||
}
|
||||
}
|
||||
}
|
||||
redraw_win_later(wp, NOT_VALID);
|
||||
|
||||
theend:
|
||||
vim_free(spl_copy);
|
||||
recursive = FALSE;
|
||||
redraw_win_later(wp, NOT_VALID);
|
||||
return ret_msg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user