]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/gpu/vga/vgaarb.c: add missing kfree
authorJulia Lawall <julia@diku.dk>
Mon, 24 Oct 2011 14:53:39 +0000 (01:53 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 7 Nov 2011 02:40:19 +0000 (13:40 +1100)
commit18ba58da45fb5c827ed0771e48cf314801d1991a
tree8786a21e32b64c9ab3ae7a64d0f3a500d2fc61d4
parent54b4cf0e676dbb84cd5167b6f2ea138527f776b7
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 <akpm@linux-foundation.org>
drivers/gpu/vga/vgaarb.c