spell.c: Fix memory leak

This commit is contained in:
oni-link
2015-10-01 12:34:13 +02:00
parent 30024dcdbd
commit 2fb77ba6f9

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