drm: amd: display: Fix memory leakage
authorKonstantin Meskhidze <konstantin.meskhidze@huawei.com>
Wed, 30 Nov 2022 02:50:46 +0000 (10:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jan 2023 19:56:01 +0000 (14:56 -0500)
commit6b8701be1f66064ca72733c5f6e13748cdbf8397
tree63be1c2a430cc5924707193c849dd936da948970
parent2ab21bb96e97f06861f65534e23f9b48020858fc
drm: amd: display: Fix memory leakage

This commit fixes memory leakage in dc_construct_ctx() function.

Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c