Unverified Commit 86439b23 by Christian Brauner Committed by GitHub

Merge pull request #2789 from lifeng68/fix_memory_leak

Fix memory leak in cgroup_exit
parents 20b4a592 96a03c1f
...@@ -96,6 +96,8 @@ void cgroup_exit(struct cgroup_ops *ops) ...@@ -96,6 +96,8 @@ void cgroup_exit(struct cgroup_ops *ops)
} }
free(ops->hierarchies); free(ops->hierarchies);
free(ops);
return; 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