]> git.baikalelectronics.ru Git - kernel.git/commit
kmod: Release sub_info on cred allocation failure.
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Tue, 26 May 2009 08:11:03 +0000 (09:11 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 May 2009 19:11:19 +0000 (12:11 -0700)
commitd3d5b0c3c946699282b7724894d9ccf75b2953c9
treec7a700d9300dca0855721b3a15db150ae5d86f1b
parent594892fad24096851e3b110651e24ad0539a6c44
kmod: Release sub_info on cred allocation failure.

call_usermodehelper_setup() forgot to kfree(sub_info)
when prepare_usermodehelper_creds() failed.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kmod.c