From: Lin Ming Date: Sat, 27 Sep 2008 03:29:57 +0000 (+0800) Subject: ACPICA: Fix possible memory leak, error exit path X-Git-Tag: v2.6.28-rc1~26^2~26^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf058bd1c84df9921ecc517d8a8a413f4d6b5b45;p=pandora-kernel.git 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 Signed-off-by: Bob Moore Signed-off-by: Len Brown --- Reading git-diff-tree failed