HID: lenovo-tpkbd: Fix memory leak in tpkbd_remove_tp()
authorAxel Lin <axel.lin@gmail.com>
Thu, 13 Sep 2012 05:25:12 +0000 (13:25 +0800)
committerJiri Kosina <jkosina@suse.cz>
Sat, 22 Sep 2012 08:58:36 +0000 (10:58 +0200)
commit391499801b1b31f39c8e8ac382ac97f5e3742934
treefec4943f60cb9b02aef969c709a5dc3f6183dd2a
parent5b6e7f1c169db10632459c28f148011e039187bd
HID: lenovo-tpkbd: Fix memory leak in tpkbd_remove_tp()

We need to kfree names for led_mute and led_micmute in tpkbd_remove_tp().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Bernhard Seibold <mail@bernhard-seibold.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo-tpkbd.c