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)
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>

No differences found