From: Myron Stowe Date: Mon, 4 Jun 2007 22:25:37 +0000 (-0600) Subject: ACPICA: fix error path in new external package objects as method arguments X-Git-Tag: v2.6.22-rc6~29^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83dd4504456d4b5e464d6ec4a7665e2c922db67f;p=pandora-kernel.git ACPICA: fix error path in new external package objects as method arguments In the routine acpi_ut_create_package_object(), if the ACPI_ALLOCATE_ZEROED() fails then ACPI_FREE(package_desc) is called as part of the cleanup. This should instead be acpi_ut_remove_reference(package_desc) in order to remove the reference acquired from acpi_ut_create_internal_object() [see the routine acpi_ut_create_buffer_object() as an example of proper functionality]. Signed-off-by: Myron Stowe Signed-off-by: Len Brown --- Reading git-diff-tree failed