diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2023-11-23 15:33:22 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-29 18:09:14 -0500 |
| commit | 7a88f23e768491bae653b444a96091d2aaeb0818 (patch) | |
| tree | 08e420c9ae4d961c19e87897d4fca0c888adf030 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | drm/amdgpu: fix AGP addressing when GART is not at 0 (diff) | |
| download | linux-7a88f23e768491bae653b444a96091d2aaeb0818.tar.gz linux-7a88f23e768491bae653b444a96091d2aaeb0818.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 <dinghao.liu@zju.edu.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
