]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: EC: acpi_ec_remove(): fix use-after-free
authorAdrian Bunk <bunk@stusta.de>
Sun, 29 Jul 2007 15:00:37 +0000 (17:00 +0200)
committerLen Brown <len.brown@intel.com>
Sat, 4 Aug 2007 02:28:11 +0000 (22:28 -0400)
commit07ddf768d860bee7bd6581b7af3ce1009dbd05d0
tree10cf0995194067022b84149d8bc9e81ce29ac0da
parent7c010de7506954e973abfab5c5999c5a97f7a73e
ACPI: EC: acpi_ec_remove(): fix use-after-free

This patch fixes an obvious use-after-free introduced by
commit 837012ede14a8fc088be3682c964da7fc6af026b.

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c