]> git.karo-electronics.de Git - karo-tx-linux.git/commit
HID: fix memleaking of collection
authorJiri Kosina <jkosina@suse.cz>
Wed, 24 Jan 2007 22:05:07 +0000 (23:05 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 25 Jan 2007 17:31:21 +0000 (18:31 +0100)
commit767fe7877c2928b5633992ee60a49ad4516dc2af
tree9623c4149575ce26af4ff4cf908bec6eb37d4072
parent99abfeafb5f2eea1bb481330ff37343e1133c924
HID: fix memleaking of collection

hid_free_device() doesn't free device->collection (but it does
free device->rdesc and device itself). This imposes memory leak.
Fix it.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c