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

Skip to content
Commit 94b5de38 authored by Akhil P Oommen's avatar Akhil P Oommen Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Fix ref counting error for syncsource object



In kgsl_ioctl_syncsource_create_fence(), when the return value is
-ENOMEM or -EBADF, an extra reference count is put back for
syncsource during cleanup. This results in an early free of
syncsource object. This can be fixed by avoiding the extra
kgsl_syncsource_put() during the cleanup.

Change-Id: I4ecbcd04dae6edb773b7979f68c9658a971d9d5d
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: default avatarUrvashi Agrawal <urvaagra@codeaurora.org>
parent ab8311c3
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