summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2026-05-09 15:20:39 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 12:09:43 -0400
commitd796558def777f9a9cc274861e06b8b61851b409 (patch)
treef9243f24a3d49747bc6adceb388dd9c42b01cc98 /scripts
parent9baf02bf88a8228248c546a3be7bbe3bfe74b7d5 (diff)
drm/amd/pm: fix memleak of dpm_policies on smu v15
In smu_v15_0_fini_smc_tables, dpm_policies was not freed or NULLed, causing a memory leak. Add kfree() and NULL assignment to properly release memory and avoid dangling pointers. Fixes: 2beedc3a92b7 ("drm/amd/pm: Add initial support for smu v15_0_8"); Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 014f329074f688b9b49383e8b70e79e9ef99359e)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions