mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/msm: Fix obj leak in VM_BIND error path
[ Upstream commit278f890443] If we fail a handle-lookup part way thru, we need to drop the already obtained obj references. Fixes:2e6a8a1fe2("drm/msm: Add VM_BIND ioctl") Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com> Tested-by: Connor Abbott <cwabbott0@gmail.com> Patchwork: https://patchwork.freedesktop.org/patch/669784/ Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0f97564a1f
commit
2b512909a2
1 changed files with 19 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue