Skip to content
Commit 709d27c0 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Jiri Kosina
Browse files

HID: hidraw_connect() memleak fix



It looks like hidraw_connect() is leaking memory in case of failure.
Also it should return -ENOMEM when kzalloc fails.

Signed-off-by: default avatarMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 86166b7b
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