]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/gpu/vga/vgaarb.c: add missing kfree
authorJulia Lawall <julia@diku.dk>
Wed, 5 Oct 2011 00:42:30 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:10 +0000 (17:49 +1100)
commit5a7673517f52758f4ea19d8cd7ca582a075d5ce5
treebb12a7dd7de08412818fb11ea4774c026a88999c
parent91d10b6683d153c0a77b2bcd00e0e7d0e8b37703
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