mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38: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;
|
curwin->w_cursor = prev_cursor;
|
||||||
|
|
||||||
spell_find_cleanup(&sug);
|
spell_find_cleanup(&sug);
|
||||||
|
xfree(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if the word at line "lnum" column "col" is required to start with a
|
// Check if the word at line "lnum" column "col" is required to start with a
|
||||||
|
Reference in New Issue
Block a user