]> git.karo-electronics.de Git - linux-beck.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)
commitda0a12caffad2eeadea429f83818408e7b77379a
tree3ff7fa3a5b2156066b442ef126db9dacab008c87
parent913ffdb54366f94eec65c656cae8c6e00e1ab1b0
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