]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/gpu/vga/vgaarb.c: add missing kfree
authorJulia Lawall <julia@diku.dk>
Tue, 8 Nov 2011 00:19:58 +0000 (11:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 8 Nov 2011 03:15:48 +0000 (14:15 +1100)
commit1719862bf093bb38cf29af6fded94ec0827d799a
tree92621bb4f80c7abb973070e610114a5458fa7ded
parent72957414b142b3c30bec9bd8d34014eb6d84e372
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