diff options
author | Roy Spliet <nouveau@spliet.org> | 2020-04-07 18:07:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-24 17:50:29 +0200 |
commit | f1069001bba71708128a61c29903a5c84a302296 (patch) | |
tree | 8e233a570d1619d8aaaa2f3fd808584c97b61ef2 /sound/soc/intel | |
parent | fbf719e5da126c6b391ea7b1f38d4493582d8aaf (diff) |
drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
[ Upstream commit e4337877c5d578722c0716f131fb774522013cf5 ]
When allocation for mdp5_kms fails, calling mdp5_destroy() leads to undefined
behaviour, likely a nullptr exception or use-after-free troubles.
Signed-off-by: Roy Spliet <nouveau@spliet.org>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc/intel')
0 files changed, 0 insertions, 0 deletions