Files
linux/drivers/acpi
Hanjun Guo 2238732f19 ACPI: bus: Call kobject_put() in acpi_init() error path
[ Upstream commit 4ac7a817f1 ]

Although the system will not be in a good condition or it will not
boot if acpi_bus_init() fails, it is still necessary to put the
kobject in the error path before returning to avoid leaking memory.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:53:17 +02:00
..
2020-03-25 08:25:58 +01:00
2019-06-23 09:23:33 +02:00
2020-11-22 10:14:12 +01:00
2019-08-16 14:32:26 -07:00
2020-10-17 10:11:22 +02:00
2019-12-17 19:56:33 +01:00
2020-06-30 15:37:06 -04:00