diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2009-10-26 16:49:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-29 07:39:29 -0700 |
commit | b05ca7385a2848abdc72051f832722641daed8b0 (patch) | |
tree | ce0463be127434f25f23025142f2313d2dae21ab /mm/kmemleak-test.c | |
parent | ab8a3e14e6f8e567560f664bbd29aefb306a274e (diff) | |
download | linux-b05ca7385a2848abdc72051f832722641daed8b0.tar.bz2 |
do_mbind(): fix memory leak
If migrate_prep is failed, new variable is leaked. This patch fixes it.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions