Skip to content
Commit 65e54987 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Alex Deucher
Browse files

drm/amd/display: Fix memory leak in dcn21_clock_source_create

When dcn20_clk_src_construct() fails, we need to release clk_src.

Fixes: 6f4e6361

 ("drm/amd/display: Add Renoir resource (v2)")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f95af4a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment