commit | d75fa679b056375494501ad47ea98fca5d712ff0 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Thu Sep 10 11:26:36 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Sep 15 17:52:43 2020 -0400 |
tree | 33ad2021e7b72e7b6a3a64a57831a93f6198eb09 | |
parent | d56b83f7c1a42c27fe499be2fb5c75a038459c04 [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>