]> git.karo-electronics.de Git - mv-sheeva.git/commit
[SCSI] mptfusion: Fix memory leak in mptctl_getiocinfo()
authorJesper Juhl <jj@chaosbits.net>
Sun, 26 Dec 2010 21:14:01 +0000 (22:14 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:42:10 +0000 (11:42 -0600)
commitefee0bd9b272b0dae1c7fb1bb0be75606c8fa6f8
treee7c31143eb82b218d34cb2fb254e3d7c914ac569
parent70e14722718ea3fc66400924f7a99c7d8c62b8ff
[SCSI] mptfusion: Fix memory leak in mptctl_getiocinfo()

A 'kfree(karg)' is missing in a failure path in
mptctl.c::mptctl_getiocinfo() which can cause a memory leak.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: "Desai, Kashyap" <Kashyap.Desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptctl.c