]> git.proxmox.com Git - mirror_lxcfs.git/commitdiff
nih_local's must be initialized as NULL
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 3 Apr 2015 01:28:58 +0000 (20:28 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 3 Apr 2015 01:28:58 +0000 (20:28 -0500)
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxcfs.c

diff --git a/lxcfs.c b/lxcfs.c
index 5c25387b99f829586c319a4c34900bb671f0d991..f8938c48bfd467a0aad2bf17ac73ab99523b817d 100644 (file)
--- a/lxcfs.c
+++ b/lxcfs.c
@@ -620,7 +620,7 @@ static int cg_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t
        }
 
        // now get the list of child cgroups
-       nih_local char **clist;
+       nih_local char **clist = NULL;
 
        if (!cgm_list_children(controller, cgroup, &clist))
                return 0;