diff options
| author | Dinghao Liu <[email protected]> | 2023-11-23 07:33:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-11-29 21:49:22 +0000 |
| commit | b0e5c88d8a88bdcc9834409387e10a5ae1b2753e (patch) | |
| tree | c94dd2c12659a8c5364f559ab8bd2d4db1c202f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amdgpu: fix AGP addressing when GART is not at 0 (diff) | |
| download | kernel-b0e5c88d8a88bdcc9834409387e10a5ae1b2753e.tar.gz kernel-b0e5c88d8a88bdcc9834409387e10a5ae1b2753e.zip | |
drm/amd/pm: fix a memleak in aldebaran_tables_init
When kzalloc() for smu_table->ecc_table fails, we should free
the previously allocated resources to prevent memleak.
Fixes: edd794208555 ("drm/amd/pm: add message smu to get ecc_table v2")
Signed-off-by: Dinghao Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
