diff options
| author | Qiushi Wu <[email protected]> | 2020-05-27 22:35:51 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-05-28 11:47:53 +0000 |
| commit | 4d8be4bc94f74bb7d096e1c2e44457b530d5a170 (patch) | |
| tree | 343ffb7692790f6368951d824e83df7facc6ec78 /Documentation/filesystems/caching/netfs-api.rst | |
| parent | ACPI: CPPC: Make some symbols static (diff) | |
| download | kernel-4d8be4bc94f74bb7d096e1c2e44457b530d5a170.tar.gz kernel-4d8be4bc94f74bb7d096e1c2e44457b530d5a170.zip | |
ACPI: CPPC: Fix reference count leak in acpi_cppc_processor_probe()
kobject_init_and_add() takes reference even when it fails.
If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object. Previous
commit "b8eb718348b8" fixed a similar problem.
Fixes: 158c998ea44b ("ACPI / CPPC: add sysfs support to compute delivered performance")
Signed-off-by: Qiushi Wu <[email protected]>
Cc: 4.10+ <[email protected]> # 4.10+
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions
