summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-10-03 15:27:28 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-10-04 20:05:08 +0300
commit827a07525c099f54d3b15110408824541ec66b3c (patch)
tree683305943d2aabbda1b3f8b20184b6196212be65 /tools/perf/scripts/python/exported-sql-viewer.py
parenta42a5839f400e929c489bb1b58f54596c4535167 (diff)
downloadlinux-827a07525c099f54d3b15110408824541ec66b3c.tar.xz
thermal: core: Free tzp copy along with the thermal zone
The object pointed to by tz->tzp may still be accessed after being freed in thermal_zone_device_unregister(), so move the freeing of it to the point after the removal completion has been completed at which it cannot be accessed any more. Fixes: 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone parameters structure") Cc: 6.8+ <stable@vger.kernel.org> # 6.8+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/4623516.LvFx2qVVIh@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions