diff options
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 7610520780..429dbea7b0 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 *)realloc(buf, STRLEN(buf) + STRLEN(p) + 1); + newbuf = (char_u *)xrealloc(buf, STRLEN(buf) + STRLEN(p) + 1); if (newbuf == NULL) { vim_free(buf); vim_free(p); |