git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f8e7c
)
Coverity: Don't call free_strings (NULL).
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 8 Jun 2011 20:56:56 +0000
(21:56 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 13 Jun 2011 13:10:17 +0000
(14:10 +0100)
(cherry picked from commit
48ebf50f3136ac27f4252662e351230ffa2b15e5
)
daemon/link.c
patch
|
blob
|
history
diff --git
a/daemon/link.c
b/daemon/link.c
index
3766d8c
..
1049640
100644
(file)
--- a/
daemon/link.c
+++ b/
daemon/link.c
@@
-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;
}