cgroups: initialize variable

Fixes: Coverity 1472651 Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent bb6dbaf0
......@@ -3337,7 +3337,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative,
{
__do_close int cgroup_root_fd = -EBADF;
__do_free char *base_cgroup = NULL, *controllers_path = NULL;
__do_free_string_list char **delegatable;
__do_free_string_list char **delegatable = NULL;
__do_free struct hierarchy *new = NULL;
int ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment