diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-08-26 15:24:58 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-26 21:45:52 +0200 |
commit | b67a468a4ccef593cd8df6a02ba3d167b77f0c81 (patch) | |
tree | 8536593489b81a83bca571c25d57e74c2620a02d /drivers/gpu/trace | |
parent | drm/amdgpu: disable runtime pm for navy_flounder (diff) | |
download | linux-b67a468a4ccef593cd8df6a02ba3d167b77f0c81.tar.xz linux-b67a468a4ccef593cd8df6a02ba3d167b77f0c81.zip |
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>
Diffstat (limited to 'drivers/gpu/trace')
0 files changed, 0 insertions, 0 deletions