From: "Richard W.M. Jones" <rjones(a)redhat.com>
Thanks: Olaf Hering.
(cherry picked from commit fc2947b1125aa34b5f04efd2d39cb82b2ebba586)
(cherry picked from commit aea97611263140aa9efe38388bb0418b7f2344ef)
---
daemon/command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/command.c b/daemon/command.c
index db82b52..99a58c1 100644
--- a/daemon/command.c
+++ b/daemon/command.c
@@ -41,7 +41,7 @@ char *
do_command (char *const *argv)
{
char *out;
- CLEANUP_FREE char *err;
+ CLEANUP_FREE char *err = NULL;
int r;
CLEANUP_FREE char *sysroot_dev = NULL, *sysroot_dev_pts = NULL,
*sysroot_proc = NULL, *sysroot_sys = NULL;
--
1.8.3.1