Files
linux/drivers
Hangyu Hua 33546183c1 drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
[ Upstream commit 947a844bb3 ]

drm_gem_object_lookup will call drm_gem_object_get inside. So cursor_bo
needs to be put when msm_gem_get_and_pin_iova fails.

Fixes: e172d10a9c ("drm/msm/mdp5: Add hardware cursor support")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20220509061125.18585-1-hbh25y@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:23:00 +02:00
..
2022-06-09 10:22:56 +02:00
2022-05-09 09:14:44 +02:00
2022-06-06 08:43:36 +02:00
2022-06-09 10:22:58 +02:00
2022-04-13 20:59:11 +02:00
2022-04-13 20:59:01 +02:00