---
daemon/guestfsd.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index 448f3b4..ceadfdb 100644
--- 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;
--
1.7.5.1