summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHersen Wu <hersenxs.wu@amd.com>2023-03-27 16:10:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-04-27 05:28:37 +0300
commit025ce392b5f213696ca0af3e07735d0fae020694 (patch)
treea8a4170a5da9ae77fe382e3547de47f39fd2b510 /tools/perf/scripts/python/exported-sql-viewer.py
parentda5e14909776edea4462672fb4a3007802d262e7 (diff)
downloadlinux-025ce392b5f213696ca0af3e07735d0fae020694.tar.xz
drm/amd/display: fix memleak in aconnector->timing_requested
[Why] when amdgpu_dm_update_connector_after_detect is called two times successively with valid sink, memory allocated of aconnector->timing_requested for the first call is not free. this causes memeleak. [How] allocate memory only when aconnector->timing_requested is null. Reviewed-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Hersen Wu <hersenxs.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions