Use realloc instead of vim_realloc

This commit is contained in:
Felipe Oliveira Carvalho
2014-03-26 17:31:13 -03:00
committed by Thiago de Arruda
parent 580ababcb5
commit f8432ef127
9 changed files with 11 additions and 14 deletions

View File

@@ -73,7 +73,7 @@ int ga_grow(garray_T *gap, int n)
new_len = gap->ga_itemsize * (gap->ga_len + n);
pp = (gap->ga_data == NULL)
? alloc((unsigned)new_len)
: vim_realloc(gap->ga_data, new_len);
: realloc(gap->ga_data, new_len);
if (pp == NULL) {
return FAIL;