ACPICA: Fix possible memory leak, error exit path
authorLin Ming <ming.m.lin@intel.com>
Sat, 27 Sep 2008 03:29:57 +0000 (11:29 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 23 Oct 2008 03:14:47 +0000 (23:14 -0400)
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>

No differences found