diff options
Diffstat (limited to 'src/findfile.c')
| -rw-r--r-- | src/findfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/findfile.c b/src/findfile.c index ba996c454..a6bec9788 100644 --- a/src/findfile.c +++ b/src/findfile.c @@ -320,10 +320,9 @@ vim_findfile_init( search_ctx = search_ctx_arg; else { - search_ctx = ALLOC_ONE(ff_search_ctx_T); + search_ctx = ALLOC_CLEAR_ONE(ff_search_ctx_T); if (search_ctx == NULL) goto error_return; - vim_memset(search_ctx, 0, sizeof(ff_search_ctx_T)); } search_ctx->ffsc_find_what = find_what; search_ctx->ffsc_tagfile = tagfile; |
