summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2008-09-27 05:29:57 +0200
committerLen Brown <len.brown@intel.com>2008-10-23 05:14:47 +0200
commitcf058bd1c84df9921ecc517d8a8a413f4d6b5b45 (patch)
treeca9cc1f367f96a13e60047c88a0e41f284274c71 /drivers/acpi/ec.c
parentACPICA: Fix fault after mem allocation failure in AML parser (diff)
downloadlinux-cf058bd1c84df9921ecc517d8a8a413f4d6b5b45.tar.xz
linux-cf058bd1c84df9921ecc517d8a8a413f4d6b5b45.zip
ACPICA: Fix possible memory leak, error exit path
Fixed two possible memory leaks in the error exit paths of acpi_ut_update_objerct_reference() and acpi_ut_walk_package_tree() These functions are similar in that they use a stack of state objects in order to eliminate recursion. The stack must be fully deallocated if an error occurs. http://www.acpica.org/bugzilla/show_bug.cgi?id=383 Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
0 files changed, 0 insertions, 0 deletions