mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
Remove nonnullret deadcode: xcalloc.
This commit is contained in:
@@ -881,11 +881,9 @@ static void uniquefy_paths(garray_T *gap, char_u *pattern)
|
||||
}
|
||||
|
||||
free(curdir);
|
||||
if (in_curdir != NULL) {
|
||||
for (int i = 0; i < gap->ga_len; i++)
|
||||
free(in_curdir[i]);
|
||||
free(in_curdir);
|
||||
}
|
||||
for (int i = 0; i < gap->ga_len; i++)
|
||||
free(in_curdir[i]);
|
||||
free(in_curdir);
|
||||
ga_clear_strings(&path_ga);
|
||||
vim_regfree(regmatch.regprog);
|
||||
|
||||
|
Reference in New Issue
Block a user