]> 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>
Tue, 25 Oct 2011 09:01:44 +0000 (20:01 +1100)
commit0b4de5b1dfef8404a2aa227c6d066591d92693a2
tree957273f7aebeb8a34cf1bf8c9d87deb968078492
parent1bd581610611c5a95ec328e5c47fdf4f8bb99ec5
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