Merge pull request #3410 from oni-link/fix.spell_suggest

spell.c: Fix memory leak
This commit is contained in:
Justin M. Keyes
2015-10-01 13:22:02 -04:00

View File

@@ -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