diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-08-05 20:37:14 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-06 11:36:55 -0400 |
commit | 5126da7d99cf6396c929f3b577ba3aed1e74acd7 (patch) | |
tree | 29536b37431071613fe5c26c63631dc449897c99 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 202ead5a3c589b0594a75cb99f080174f6851fed (diff) |
drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()'
'watermarks_table' must be freed instead 'clocks_table', because
'clocks_table' is known to be NULL at this point and 'watermarks_table' is
never freed if the last kzalloc fails.
Fixes: c98ee89736b8 ("drm/amd/pm: add the fine grain tuning function for vangogh")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions