summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2026-05-09 10:20:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 01:13:55 +0300
commit014f329074f688b9b49383e8b70e79e9ef99359e (patch)
treea19e87f5182e991630121a9b89dfbd0268c9887d /lib/debugobjects.c
parent37160f6cbab642966bcbddb37dfb8b135fd0cd3d (diff)
downloadlinux-014f329074f688b9b49383e8b70e79e9ef99359e.tar.xz
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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions