aboutsummaryrefslogtreecommitdiff
path: root/src/popupmnu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r--src/popupmnu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c
index bfb6b693e1..b64f336d83 100644
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -368,15 +368,15 @@ void pum_redraw(void)
}
screen_puts_len(rt, (int)STRLEN(rt), row, col - size + 1,
attr);
- vim_free(rt_start);
+ free(rt_start);
}
- vim_free(st);
+ free(st);
col -= width;
} else {
if (st != NULL) {
screen_puts_len(st, (int)STRLEN(st), row, col, attr);
- vim_free(st);
+ free(st);
}
col += width;
}