usb: kbd: Fix memleak on usb_kbd_deregister()
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Sep 2014 12:06:08 +0000 (14:06 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 4 Nov 2014 05:04:00 +0000 (06:04 +0100)
commitdfe5b1c86f1a79841e00c68d71d8027b223d4aa7
tree530fe085e0bb5d987a4dfdbc9d8e0a255b405137
parentbe17e752f31f65d5e32d507d31819e6106d3a5bf
usb: kbd: Fix memleak on usb_kbd_deregister()

Free the keyboard hid-report buffer and private data on deregister.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
common/usb_kbd.c