aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorHersen Wu <[email protected]>2023-03-27 09:10:48 -0400
committerAlex Deucher <[email protected]>2023-04-26 22:28:37 -0400
commit025ce392b5f213696ca0af3e07735d0fae020694 (patch)
treea8a4170a5da9ae77fe382e3547de47f39fd2b510 /tools/testing/selftests/bpf/progs/test_autoload.c
parentda5e14909776edea4462672fb4a3007802d262e7 (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/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions