]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / APEI: ERST: Fixed leaked resources in erst_init
authorJosh Hunt <johunt@akamai.com>
Tue, 8 Mar 2016 15:52:12 +0000 (10:52 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Mar 2016 23:14:16 +0000 (00:14 +0100)
commit536a562b84242830e3295c84321cc07ac10c7f88
treeac9b38e99dece5efbce5cb1bc8a4bb9d9a582bca
parent3e22779354066b895cfdbf5c6547121f65142db9
ACPI / APEI: ERST: Fixed leaked resources in erst_init

erst_init currently leaks resources allocated from its call to
apei_resources_init(). The data allocated there gets copied
into apei_resources_all and can be freed when we're done with it.

Signed-off-by: Josh Hunt <johunt@akamai.com>
Reviewed-by: Chen, Gong <gong.chen@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/erst.c