Skip to content
Commit 6a2e176b authored by Michal Malý's avatar Michal Malý Committed by Jiri Kosina
Browse files

HID: lg4ff: Remove sysfs iface before deallocating memory



This patch fixes a possible race condition caused by the sysfs
interface being removed after the memory used by the interface
was already kfree'd.

Signed-off-by: default avatarMichal Malý <madcatsxter@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 8577dbf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment