diff options
| author | Hangyu Hua <[email protected]> | 2022-05-09 06:11:25 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2022-05-18 18:05:21 +0000 |
| commit | 947a844bb3ebff0f4736d244d792ce129f6700d7 (patch) | |
| tree | f43bd56802ff8b3347e8d0d152d1825d24ebd7eb /fs/ext4/fast_commit.c | |
| parent | drm/msm: Fix fb plane offset calculation (diff) | |
| download | kernel-947a844bb3ebff0f4736d244d792ce129f6700d7.tar.gz kernel-947a844bb3ebff0f4736d244d792ce129f6700d7.zip | |
drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
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: e172d10a9c4a ("drm/msm/mdp5: Add hardware cursor support")
Signed-off-by: Hangyu Hua <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
