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)
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>

No differences found