diff options
Diffstat (limited to 'src/file_search.c')
-rw-r--r-- | src/file_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_search.c b/src/file_search.c index 718e0b024e..00b32d669f 100644 --- a/src/file_search.c +++ b/src/file_search.c @@ -387,7 +387,7 @@ vim_findfile_init ( void *ptr; helper = walker; - ptr = realloc(search_ctx->ffsc_stopdirs_v, + ptr = xrealloc(search_ctx->ffsc_stopdirs_v, (dircount + 1) * sizeof(char_u *)); if (ptr) search_ctx->ffsc_stopdirs_v = ptr; |