mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
Use realloc instead of vim_realloc
This commit is contained in:

committed by
Thiago de Arruda

parent
580ababcb5
commit
f8432ef127
@@ -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);
|
||||
|
Reference in New Issue
Block a user