From f8432ef127c0d84bc89ef604dfd6b619acd89c3b Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 26 Mar 2014 17:31:13 -0300 Subject: Use realloc instead of vim_realloc --- src/normal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/normal.c') diff --git a/src/normal.c b/src/normal.c index 6e6875b244..7610520780 100644 --- a/src/normal.c +++ b/src/normal.c @@ -4496,7 +4496,7 @@ static void nv_ident(cmdarg_T *cap) vim_free(buf); return; } - newbuf = (char_u *)vim_realloc(buf, STRLEN(buf) + STRLEN(p) + 1); + newbuf = (char_u *)realloc(buf, STRLEN(buf) + STRLEN(p) + 1); if (newbuf == NULL) { vim_free(buf); vim_free(p); -- cgit