]> 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>
Thu, 29 Sep 2011 06:07:52 +0000 (16:07 +1000)
commit178b7b86a472db076db3fd0a0ab547e50579ebc2
treec5c42dee2d47057ac5de8a06f70aa9c0cc108e20
parent93b11097926481e5c7a64bca74e3361e83f5cbd6
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