Problem: leaking memory with completing multi lines
(after v9.1.1086)
Solution: free allocated memory (glepnir)
closes: #16605
Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
if ((int)curwin->w_cursor.col > col)
{
if (stop_arrow() == FAIL)
+ {
+ if (remaining)
+ VIM_CLEAR(remaining);
return;
+ }
backspace_until_column(col);
compl_ins_end_col = curwin->w_cursor.col;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1098,
/**/
1097,
/**/