]> Git Repo - linux.git/commit - kernel/sched.c
sched: fix memory leak in a failure path
authorLi Zefan <[email protected]>
Fri, 7 Nov 2008 06:47:21 +0000 (14:47 +0800)
committerIngo Molnar <[email protected]>
Fri, 7 Nov 2008 07:29:58 +0000 (08:29 +0100)
commitca3273f9646694e0419cfb9d6c12deb1c9aff27c
tree53e0b28edddd5c29691c9ccc8a7f3c8c11ee9c83
parentf29c9b1ccb52904ee442a933cf3dee628f9f4e62
sched: fix memory leak in a failure path

Impact: fix rare memory leak in the sched-domains manual reconfiguration code

In the failure path, rd is not attached to a sched domain,
so it causes a leak.

Signed-off-by: Li Zefan <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched.c
This page took 0.052292 seconds and 4 git commands to generate.