diff options
| author | Hersen Wu <[email protected]> | 2023-03-27 09:10:48 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-04-18 16:28:52 -0400 |
| commit | c0162a05bd31129e29a23d4bd1d2321c9663d5bc (patch) | |
| tree | 2b1becf32db3fe30955a533a368a17d901bf2837 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 72529b683c6d94fa87f3a42efd9b92ccfb8def41 (diff) | |
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 <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Hersen Wu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions