]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gtco - fix double kfree in error handling path
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 30 May 2008 14:40:28 +0000 (10:40 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 30 May 2008 14:40:28 +0000 (10:40 -0400)
commit395e5a8756b84fcf5a00d4c23cf211eb57c4b5bf
treea2411e9367fd265f1327c51bdef6d3c8f793d0b0
parent8541346b843015cfeb6ec105b9b72abdf067a057
Input: gtco - fix double kfree in error handling path

The code would try to free 'report' twice upon input_register_device()
failure.

Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/gtco.c