commit | 0ccdd9e7476680c16113131264ad6597bd10299d | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Wed Sep 11 21:56:59 2013 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Sep 13 15:15:11 2013 +0200 |
tree | 62fd49b0ee3ba38eed79d97fc54762b6da77024b | |
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>