Unverified Commit 8dec2437 by LiFeng Committed by Christian Brauner

Fix memory leak in cgroup_exit

Add free memory pointed by struct cgroup_ops *ops Signed-off-by: 's avatarLiFeng <lifeng68@huawei.com>
parent 266892a9
......@@ -95,6 +95,8 @@ void cgroup_exit(struct cgroup_ops *ops)
}
free(ops->hierarchies);
free(ops);
return;
}
......
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