]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: debugger: fix memory leak on Pathname
authorColin Ian King <colin.king@canonical.com>
Wed, 26 Apr 2017 08:18:25 +0000 (16:18 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Apr 2017 22:31:00 +0000 (00:31 +0200)
commita367c7e42f6335e1f618789f2076177a914c8336
tree60175d97d38ea76091dc0f13e2d752bbfa96e663
parenta98cf442df7d8fcf160fedaa83f810825e7a34d7
ACPICA: debugger: fix memory leak on Pathname

ACPICA commit 1db14dc88f308119634d77ab9dcb6586b9fe4777

On the error return path when acpi_get_object_info fails the allocated
pathname is not free'd leading to a memory leak.  Free pathname
to fix this.

Link: https://github.com/acpica/acpica/commit/1db14dc8
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/dbmethod.c