Commit 529c24df by Serge Hallyn

coverity: avoid null pointer dereference in cgmanager

parent dc259399
......@@ -775,8 +775,8 @@ static char *try_get_abs_cgroup(const char *name, const char *lxcpath,
NihError *nerr;
nerr = nih_error_get();
nih_free(nerr);
}
prune_init_scope(cgroup);
} else
prune_init_scope(cgroup);
return cgroup;
}
......
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