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:
346c5b0
)
Coverity: Missing return on error path.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 8 Jun 2011 21:38:53 +0000
(22:38 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 9 Jun 2011 09:53:51 +0000
(10:53 +0100)
daemon/guestfsd.c
patch
|
blob
|
history
diff --git
a/daemon/guestfsd.c
b/daemon/guestfsd.c
index
448f3b4
..
ceadfdb
100644
(file)
--- a/
daemon/guestfsd.c
+++ b/
daemon/guestfsd.c
@@
-429,6
+429,7
@@
add_string (char ***argv, int *size, int *alloc, const char *str)
if (new_str == NULL) {
reply_with_perror ("strdup");
free_strings (*argv);
+ return -1;
}
} else
new_str = NULL;