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)
commit501a5250589be41c4c060afa855bc60b4539a340
treea2411e9367fd265f1327c51bdef6d3c8f793d0b0
parent471637a575329f9250e7e4099e84084820a35e11
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