diff options
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index de2f3002b4..2f283774fc 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -1286,7 +1286,7 @@ static int cs_insert_filelist(char *fname, char *ppath, char *flags, struct stat * be enough for most users. If more is needed, csinfo will be * reallocated. */ csinfo_size = 1; - csinfo = (csinfo_T *)alloc_clear(sizeof(csinfo_T)); + csinfo = xcalloc(1, sizeof(csinfo_T)); } else { /* Reallocate space for more connections. */ csinfo_size *= 2; |