Remove nonnullret deadcode: xcalloc.

This commit is contained in:
Eliseo Martínez
2015-01-23 14:31:03 +01:00
parent 73c6bd8a42
commit 883e3a7a73
3 changed files with 9 additions and 15 deletions

View File

@@ -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);