diff options
author | 2017-11-10 20:17:03 -0500 | |
---|---|---|
committer | 2017-12-14 10:52:12 -0500 | |
commit | 52924dc3d0daf725a63f5c749cb263aad06f928a (patch) | |
tree | 05d04378b3600b07d3c1cc6070490f7f5eaf6b9e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | |
parent | drm/amd/display: Remove redundant checks in set_default_colors (diff) | |
download | wireguard-linux-52924dc3d0daf725a63f5c749cb263aad06f928a.tar.xz wireguard-linux-52924dc3d0daf725a63f5c749cb263aad06f928a.zip |
drm/amd/display: Fix potential mem leak in DC construct
Found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:506 construct() warn:
possible memory leak of 'dc_ctx'
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:506 construct() warn:
possible memory leak of 'dc_vbios'
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:506 construct() warn:
possible memory leak of 'dcn_ip'
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:506 construct() warn:
possible memory leak of 'dcn_soc'
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h')
0 files changed, 0 insertions, 0 deletions