HID: fix memory leak in hidraw_release
authorJiri Kosina <jkosina@suse.cz>
Tue, 24 Jun 2008 12:45:27 +0000 (14:45 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Jul 2008 13:25:21 +0000 (15:25 +0200)
commit4db1c62c9991e62b441672db7f227e722776adc4
treefba1946ddedc94c81423fe07cf1d8061794d55fa
parentf472f80034ae5d0be7d7196c7e65d0ca8890afb4
HID: fix memory leak in hidraw_release

hidraw_release() forgot to free the linked list structure, causing memory
leak.

Reported-by: Juan Marcos Diez Esteban <juan_m_diez@yahoo.es>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c