In commit
246aa6d (core: add bus API and systemctl commands for altering
cgroup parameters during runtime), when rewriting unit_add_one_default_cgroup
to prefered style, the check of strduped b->controller was incorrectly
changed to check the containing structure. Correct it.
return -ENOMEM;
b->controller = strdup(controller);
return -ENOMEM;
b->controller = strdup(controller);
goto fail;
b->path = unit_default_cgroup_path(u);
goto fail;
b->path = unit_default_cgroup_path(u);