diff options
| author | Harry Wentland <harry.wentland@amd.com> | 2017-11-10 20:17:03 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-14 10:52:12 -0500 |
| commit | 52924dc3d0daf725a63f5c749cb263aad06f928a (patch) | |
| tree | 05d04378b3600b07d3c1cc6070490f7f5eaf6b9e /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | drm/amd/display: Remove redundant checks in set_default_colors (diff) | |
| download | linux-52924dc3d0daf725a63f5c749cb263aad06f928a.tar.gz 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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
