]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/gpu/vga/vgaarb.c: add missing kfree
authorJulia Lawall <julia@diku.dk>
Wed, 28 Sep 2011 00:49:44 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:20 +0000 (18:38 +1100)
commit6522266855e6c3d919a59cea7d74aaf4e62b3eeb
treed403730ab9712449263b263fba8c2e8ec48045e1
parent1a46bf8872a304462fc84cfcb45ae4bb4c255652
drivers/gpu/vga/vgaarb.c: add missing kfree

kbuf is a buffer that is local to this function, so all of the error paths
leaving the function should release it.

Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Andrew Morton <>
drivers/gpu/vga/vgaarb.c