-
cgroups: fix potential nullderef · b53a0853Christian Brauner authored
The child_path variable is initialized very late in the function so jumping to the on_error label would cause a nullderef. With the cleanup macros we can simplify this function to simply do direct returns and avoid that whole issue. Closes #2935. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
×