Home
last modified time | relevance | path

Searched hist:a5467ebd681fa2ba09cfa64689c5fc0773fd0634 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dvangogh_ppt.cdiff a5467ebd681fa2ba09cfa64689c5fc0773fd0634 Thu Aug 05 20:37:14 CEST 2021 Christophe JAILLET <christophe.jaillet@wanadoo.fr> 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>