diff options
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r-- | daemon/guestfsd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 448f3b45..ceadfdbd 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; |