Staging: quickstart: Cleanup quickstart_acpi_ghid
authorSzymon Janc <szymon@janc.net.pl>
Wed, 11 Jan 2012 22:22:40 +0000 (23:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 01:16:48 +0000 (17:16 -0800)
commit2ac16967b8de55ec1cfb596717b3a68b0d5b42f7
treeab2a09e0bc17b942fe4f3d3bf30e6506584b811f
parent1692caa949728d866238020fe2214bd48f825d62
Staging: quickstart: Cleanup quickstart_acpi_ghid

Also fix memory leak (buffer.pointer) when returned buffer of length
less than 8.

Signed-off-by: Szymon Janc <szymon@janc.net.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/quickstart/quickstart.c