Commit c508ea10 by Serge Hallyn Committed by Stéphane Graber

coverity: avoid null pointer dereference in cgmanager

parent 3f7a1425
......@@ -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