ACPICA: Dispatcher: Fix a resource leak issue in acpi_ds_auto_serialize_method().
authorLv Zheng <lv.zheng@intel.com>
Thu, 21 May 2015 02:31:06 +0000 (10:31 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 May 2015 01:22:20 +0000 (03:22 +0200)
commitc8dec7459d9fcb880e5c42929d01c308bea9f823
treed11cffbbd666362c5471cce92fb415cd95fe155d
parent9ab8cf1b699758d502411ad9d131ff521ca01cd6
ACPICA: Dispatcher: Fix a resource leak issue in acpi_ds_auto_serialize_method().

ACPICA commit 29d03840cbab435e8ea82e9339ff9d84535c647d

This patch fixes a resource leak issue in acpi_ds_auto_serialize_method().
It is reported by the "Coverity" tool as unsecure code. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/29d03840
Link: https://jira01.devtools.intel.com/browse/LCK-2142
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/dsmethod.c