Unverified Commit 4a248480 by LiFeng Committed by Stéphane Graber

cgroup: fix wrong use of cgfd_con in cgroup_exit

Signed-off-by: 's avatarLiFeng <lifeng68@huawei.com>
parent a7723234
......@@ -79,7 +79,7 @@ void cgroup_exit(struct cgroup_ops *ops)
free((*it)->container_base_path);
free((*it)->container_full_path);
free((*it)->monitor_full_path);
if ((*it)->cgfd_mon >= 0)
if ((*it)->cgfd_con >= 0)
close((*it)->cgfd_con);
if ((*it)->cgfd_mon >= 0)
close((*it)->cgfd_mon);
......
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