diff options
author | Benjamin Tissoires | 2013-09-11 21:56:59 +0200 |
---|---|---|
committer | Jiri Kosina | 2013-09-13 15:15:11 +0200 |
commit | 0ccdd9e7476680c16113131264ad6597bd10299d (patch) | |
tree | 62fd49b0ee3ba38eed79d97fc54762b6da77024b /drivers/virt | |
parent | 8821f5dc187bdf16cfb32ef5aa8c3035273fa79a (diff) |
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 'drivers/virt')
0 files changed, 0 insertions, 0 deletions