diff options
| author | Hanjun Guo <[email protected]> | 2021-06-02 09:36:50 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-06-07 13:44:26 +0000 |
| commit | 4ac7a817f1992103d4e68e9837304f860b5e7300 (patch) | |
| tree | 849c2ae4fa14c123ea624d4649242df6eee4b759 /lib/dump_stack.c | |
| parent | ACPI: bus: Remove unneeded assignment (diff) | |
| download | kernel-4ac7a817f1992103d4e68e9837304f860b5e7300.tar.gz kernel-4ac7a817f1992103d4e68e9837304f860b5e7300.zip | |
ACPI: bus: Call kobject_put() in acpi_init() error path
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 <[email protected]>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
