]> 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)
commitfd057509600713729fd2a811d1d0a5767bdb9de0
tree3ff7fa3a5b2156066b442ef126db9dacab008c87
parent0f0a4999aa2f95b0e83f5542ce76525794c1fb91
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