diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-10-01 13:22:02 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-10-01 13:22:02 -0400 |
commit | afe8a32be01d006d6c25f69b4aa1b6e92464ab63 (patch) | |
tree | 8f5ce0ddfdc8e45132bd13559cac0a61cf5b98e8 | |
parent | bb5bf96839239f83e5db4b5f34d13acea0e9cbe7 (diff) | |
parent | 2fb77ba6f9f4e04cc0beec5ad42f476de3787b25 (diff) | |
download | rneovim-afe8a32be01d006d6c25f69b4aa1b6e92464ab63.tar.gz rneovim-afe8a32be01d006d6c25f69b4aa1b6e92464ab63.tar.bz2 rneovim-afe8a32be01d006d6c25f69b4aa1b6e92464ab63.zip |
Merge pull request #3410 from oni-link/fix.spell_suggest
spell.c: Fix memory leak
-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 |