Skip to content
Commit 4c7b417e authored by Matthieu CASTET's avatar Matthieu CASTET Committed by Jiri Kosina
Browse files

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: default avatarMatthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 61c901c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment