diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2013-09-11 19:56:59 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-09-13 13:15:11 (GMT) |
commit | 0ccdd9e7476680c16113131264ad6597bd10299d (patch) | |
tree | 62fd49b0ee3ba38eed79d97fc54762b6da77024b /include | |
parent | 8821f5dc187bdf16cfb32ef5aa8c3035273fa79a (diff) | |
download | linux-0ccdd9e7476680c16113131264ad6597bd10299d.tar.xz |
HID: lenovo-tpkbd: fix leak if tpkbd_probe_tp fails
If tpkbd_probe_tp() bails out, the probe() function return an error,
but hid_hw_stop() is never called.
fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1003998
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions