aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-core.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-30 17:02:08 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-30 17:02:08 -0800
commit4222721ebb50a8640860eeca0caeb63fe1cce935 (patch)
treed67acdb4315e611fadc64975fd1467b2389d412d /drivers/hid/hid-core.c
parent41c57a87183a7c458d86f78966d69d4bf18ea0b7 (diff)
parent76398f9667e8369023ed5f4847fb59e9da8b6968 (diff)
downloadmrst-s0i3-test-4222721ebb50a8640860eeca0caeb63fe1cce935.tar.gz
mrst-s0i3-test-4222721ebb50a8640860eeca0caeb63fe1cce935.tar.xz
mrst-s0i3-test-4222721ebb50a8640860eeca0caeb63fe1cce935.zip
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid: HID: fix pb_fnmode and move it to generic HID HID: fix hid-input mapping for Firefly Mini Remote Control USB HID: fix hid_blacklist clash for 0x08ca/0x0010 HID: fix memleaking of collection
Diffstat (limited to 'drivers/hid/hid-core.c')
-rw-r--r--drivers/hid/hid-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index b8cf50fcd64..49f18f5b251 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -543,6 +543,7 @@ void hid_free_device(struct hid_device *device)
}
kfree(device->rdesc);
+ kfree(device->collection);
kfree(device);
}
EXPORT_SYMBOL_GPL(hid_free_device);