diff options
-rw-r--r-- | src/nvim/spell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index f9ed6faff9..88f64bdf73 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -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 |