Skip to content
Commit 1544fdbc authored by Adrian Bunk's avatar Adrian Bunk Committed by Len Brown
Browse files

ACPI: EC: fix use-after-free

This patch fixes a use-after-free introduced by
commit 30c08574


(ACPI: EC: Add new query handler to list head)

Spotted by the Coverity checker.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c9e4172c
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