commit | 08572451b4b1783fdff787b0188c4d50fdf96b81 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Wed Aug 26 21:24:58 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Aug 26 16:40:19 2020 -0400 |
tree | c8abf7a3a33998f4003238ddb125f9aa8d7ca684 | |
parent | faeefe4e54d65c06dd23e5486e5423c564c4a12a [diff] |
drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init When amdgpu_display_modeset_create_props() fails, state and state->context should be freed to prevent memleak. It's the same when amdgpu_dm_audio_init() fails. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>