]> 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>
Fri, 30 Sep 2011 04:53:11 +0000 (14:53 +1000)
commit97e1a95255bc09a64e3977ed4e85c70cf0dc194a
tree803f3ef131a8e95f46665614da1955e3dc3e2b32
parentbc25bedd66d76c09dc5d11a7cec52ae8150fa7c7
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