]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: fix double kfree in failure path
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 6 Jan 2009 09:39:06 +0000 (17:39 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Jan 2009 10:07:04 +0000 (11:07 +0100)
commit0c910d289567163dbe40ccc174b36afd1c7723bd
tree9458ac750e2f174936d7e0704d25548c110e0fa0
parentd9be28ea9110c596a05bd2d56afa94251bd19818
sched: fix double kfree in failure path

It's not the responsibility of init_rootdomain() to free root_domain
allocated by alloc_rootdomain().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c