diff options
author | Dinghao Liu <[email protected]> | 2023-11-23 15:33:22 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-11-29 16:49:22 -0500 |
commit | b0e5c88d8a88bdcc9834409387e10a5ae1b2753e (patch) | |
tree | c94dd2c12659a8c5364f559ab8bd2d4db1c202f2 /tools/perf/scripts/python/sctop.py | |
parent | ca0b006939f9701ab2e14a08ed9ef77a8014d2c5 (diff) |
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 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions