]> git.baikalelectronics.ru Git - kernel.git/commit
Input: usbtouchscreen - fix leaks and check return value of usb_submit_urb()
authorOndrej Zary <linux@rainbow-software.org>
Thu, 4 Feb 2010 08:20:35 +0000 (00:20 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Feb 2010 08:22:01 +0000 (00:22 -0800)
commit0df3352572cb818543263c9e28ff48d311f29e69
tree1742cdf25086b879d97cdbd07d66168b9cb61283
parentb2e139a2fbef8d9fd519ac098b172e3b586aed3a
Input: usbtouchscreen - fix leaks and check return value of usb_submit_urb()

Fix urb leak in error path of initialization and make sure we handle
errors from initial usb_submit_urb().

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/usbtouchscreen.c