diff options
| author | Christophe JAILLET <[email protected]> | 2021-08-05 18:37:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-08-06 15:36:55 +0000 |
| commit | 5126da7d99cf6396c929f3b577ba3aed1e74acd7 (patch) | |
| tree | 29536b37431071613fe5c26c63631dc449897c99 /drivers/fpga/zynqmp-fpga.c | |
| parent | drm/amdgpu: don't enable baco on boco platforms in runpm (diff) | |
| download | kernel-5126da7d99cf6396c929f3b577ba3aed1e74acd7.tar.gz kernel-5126da7d99cf6396c929f3b577ba3aed1e74acd7.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions
