diff options
author | Joe Hattori <[email protected]> | 2024-12-24 12:18:09 +0900 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2025-01-07 20:05:32 +0100 |
commit | 9164e0912af206a72ddac4915f7784e470a04ace (patch) | |
tree | 232d996a56f5a6c17cababadec7532071f7e4a2c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9d89551994a430b50c4fffcb1e617a057fa76e20 (diff) |
thermal: of: fix OF node leak in of_thermal_zone_find()
of_thermal_zone_find() calls of_parse_phandle_with_args(), but does not
release the OF node reference obtained by it.
Add a of_node_put() call when the call is successful.
Fixes: 3fd6d6e2b4e8 ("thermal/of: Rework the thermal device tree initialization")
Signed-off-by: Joe Hattori <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Changelog edit ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions