cgroups: s/must_copy_string()/strdup()/g

parent 0d83967f
......@@ -3513,7 +3513,9 @@ static int __cgroup_init(struct cgroup_ops *ops, struct lxc_conf *conf)
__do_free char *pin = NULL;
char *chop, *cur;
pin = must_copy_string(tmp);
pin = strdup(tmp);
if (!pin)
return -errno;
chop = pin;
lxc_iterate_parts(cur, chop, ",")
......
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