summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorZhen Ni <nizhen@uniontech.com>2022-08-03 12:19:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-05 11:31:32 +0300
commit4b25bdb54578f3b96ff055e5d27bc1cb82950e51 (patch)
tree1164cdffa9472f25e04b8b36a1b552692c447517 /fs
parent21e3891abc83f2d5482c67cca2fb7f228635daaf (diff)
downloadlinux-4b25bdb54578f3b96ff055e5d27bc1cb82950e51.tar.xz
drm/amd/pm: Fix a potential gpu_metrics_table memory leak
[ Upstream commit 5afb76522a0af0513b6dc01f84128a73206b051b ] Memory is allocated for gpu_metrics_table in smu_v13_0_4_init_smc_tables(), but not freed in smu_v13_0_4_fini_smc_tables(). This may cause memory leaks, fix it. Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Zhen Ni <nizhen@uniontech.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions