Files
linux/drivers/acpi
Kurt Borja d403120cb9 ACPI: platform_profile: Fix memory leak in profile_class_is_visible()
If class_find_device() finds a device, it's reference count is
incremented.

Call put_device() to drop this reference before returning.

Fixes: 77be5cacb2 ("ACPI: platform_profile: Create class for ACPI platform profile")
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/20250212193058.32110-1-kuurtb@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2025-02-18 20:03:37 +01:00
..
2024-12-10 20:01:38 +01:00
2024-11-22 21:32:25 +01:00
2024-11-22 21:32:25 +01:00
2024-05-28 11:53:35 +02:00
2024-12-10 20:01:38 +01:00
2024-03-27 16:36:45 +01:00
2023-09-21 20:55:43 +02:00
2024-11-15 20:52:02 +01:00
2022-01-22 08:33:37 +02:00
2024-11-15 20:52:02 +01:00
2020-11-09 19:08:06 +01:00
2023-03-27 20:50:28 +02:00
2024-07-04 14:36:03 +01:00
2020-11-09 19:08:06 +01:00