Coverity: Don't call free_strings (NULL).

(cherry picked from commit 48ebf50f31)
This commit is contained in:
Richard W.M. Jones
2011-06-08 21:56:56 +01:00
parent 5355663ace
commit 17cd021aef

View File

@@ -76,7 +76,6 @@ do_readlinklist (const char *path, char *const *names)
r = readlinkat (fd_cwd, names[i], link, sizeof link);
if (r >= PATH_MAX) {
reply_with_perror ("readlinkat: returned link is too long");
free_strings (ret);
close (fd_cwd);
return NULL;
}