summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-10 11:26:36 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-09-15 17:52:43 -0400
commitd75fa679b056375494501ad47ea98fca5d712ff0 (patch)
tree33ad2021e7b72e7b6a3a64a57831a93f6198eb09 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentd56b83f7c1a42c27fe499be2fb5c75a038459c04 (diff)
drm/amd/display: Fix possible memleak in dp_trigger_hotplug()
If parse_write_buffer_into_params() fails, we should free wr_buf before return. Fixes: 6f77b2ac6280 ("drm/amd/display: Add connector HPD trigger debugfs entry") Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions