diff options
author | Matthieu CASTET <matthieu.castet@parrot.com> | 2012-06-28 16:51:56 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-07-20 10:02:23 +0200 |
commit | 4c7b417ecb756e85dfc955b0e7a04fd45585533e (patch) | |
tree | 80216412bf1cec71d59afde230049811fe2fb021 /drivers/hid/hid-zpff.c | |
parent | 61c901c56905256a4a4d7c2af92d66200a2ee7f2 (diff) | |
download | linux-3.10-4c7b417ecb756e85dfc955b0e7a04fd45585533e.tar.gz linux-3.10-4c7b417ecb756e85dfc955b0e7a04fd45585533e.tar.bz2 linux-3.10-4c7b417ecb756e85dfc955b0e7a04fd45585533e.zip |
HID: hidraw: fix list->buffer memleak
If we don't read fast enough hidraw device, hidraw_report_event
will cycle and we will leak list->buffer.
Also list->buffer are not free on release.
After this patch, kmemleak report nothing.
Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-zpff.c')
0 files changed, 0 insertions, 0 deletions