From 2fb77ba6f9f4e04cc0beec5ad42f476de3787b25 Mon Sep 17 00:00:00 2001 From: oni-link Date: Thu, 1 Oct 2015 12:34:13 +0200 Subject: spell.c: Fix memory leak --- src/nvim/spell.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit