Files
Linux/drivers/devfreq
Boris Brezillon 5693d07759 PM / devfreq: Fix leak in devfreq_dev_release()
srcu_init_notifier_head() allocates resources that need to be released
with a srcu_cleanup_notifier_head() call.

Reported by kmemleak.

Fixes: 0fe3a66410 ("PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier")
Cc: <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Dhruva Gole <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
2023-08-10 22:48:16 +09:00
..
2023-03-13 19:36:15 +09:00