]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: fix a leak when percpu_ref_init() fails
authorLi Zefan <lizefan@huawei.com>
Wed, 31 Jul 2013 08:16:28 +0000 (16:16 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 31 Jul 2013 10:13:25 +0000 (06:13 -0400)
commit1a84d1f93b3312fe5a57da6996b2162fd2f02b76
tree3ff7fa3a5b2156066b442ef126db9dacab008c87
parentfa72c31cef549e47b6ff71b2a408c3eb9633e9e1
cgroup: fix a leak when percpu_ref_init() fails

ss->css_free() is not called when perfcpu_ref_init() fails.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup.c