ACPICA: debugger: dbconvert: free pld_info on error return path
authorColin Ian King <colin.king@canonical.com>
Fri, 19 Feb 2016 06:16:34 +0000 (14:16 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Feb 2016 13:14:48 +0000 (14:14 +0100)
commitc340e5f0f8fe12079219ddf3c012bbc989b6f45b
treeb0ebbf4c0e823ce220dfdeafe08a6dcc8581d949
parent50db3052dac6e5ff7a8eeaaea138a6aaab6e608e
ACPICA: debugger: dbconvert: free pld_info on error return path

ACPICA commit 23e644670539e23818fa81e2af5e89ad6657e75c

A failed allocation of new_buffer causes a leak of pld_info
because the error return path fails to free pld_info. Ensure
it is freed on the error exit path.

Link: https://github.com/acpica/acpica/commit/23e64467
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/dbconvert.c