ACPICA: Fix possible memory leak for module-level code execution
authorLin Ming <ming.m.lin@intel.com>
Fri, 11 Dec 2009 06:36:47 +0000 (14:36 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 15 Dec 2009 22:29:34 +0000 (17:29 -0500)
commit583061c59ffea1ea14f6dca735ab0f99238a7a92
tree4be6118d33ae59f543e2973a1aefdbfac19389b6
parentb00eb796f1b67c46036b5490e83b31741f1eebaf
ACPICA: Fix possible memory leak for module-level code execution

An object can be leaked for each block of executed module-level
code if the interpreter slack mode is enabled. The change deletes
any implicitly returned object in this case.

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>
drivers/acpi/acpica/nseval.c