Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45e61801 authored by Pavel Machek's avatar Pavel Machek Committed by Greg Kroah-Hartman
Browse files

drm/msm: fix leaks if initialization fails



[ Upstream commit 66be340f827554cb1c8a1ed7dea97920b4085af2 ]

We should free resources in unlikely case of allocation failure.

Signed-off-by: default avatarPavel Machek <pavel@denx.de>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 22840383
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment