commit | 791337d2fd2d02a06a6141b05d691f4cf6476a99 | [log] [download] |
---|---|---|
author | Glauber Costa <glommer@parallels.com> | Fri Sep 21 19:13:27 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Sep 21 20:43:01 2012 +0400 |
tree | d714ef749d3401493219d6529140b8db7c7e584b | |
parent | c0a411f09a6606cadc2914406a68fc3c510f2ce4 [diff] |
fix a leak in task addition While reading the code, debugging a different problem, I noticed that we can leak a cgroup structure if container_add_task fails. This patch should fix it. Signed-off-by: Glauber Costa <glommer@parallels.com>