diff options
author | 2022-05-09 14:11:25 +0800 | |
---|---|---|
committer | 2022-05-18 11:05:21 -0700 | |
commit | 947a844bb3ebff0f4736d244d792ce129f6700d7 (patch) | |
tree | f43bd56802ff8b3347e8d0d152d1825d24ebd7eb /scripts/gdb/linux/utils.py | |
parent | drm/msm: Fix fb plane offset calculation (diff) | |
download | linux-dev-947a844bb3ebff0f4736d244d792ce129f6700d7.tar.xz linux-dev-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 <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20220509061125.18585-1-hbh25y@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions