mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
spell.c: Fix memory leak
This commit is contained in:
@@ -8583,6 +8583,7 @@ void spell_suggest(int count)
|
||||
curwin->w_cursor = prev_cursor;
|
||||
|
||||
spell_find_cleanup(&sug);
|
||||
xfree(line);
|
||||
}
|
||||
|
||||
// Check if the word at line "lnum" column "col" is required to start with a
|
||||
|
Reference in New Issue
Block a user