msm: kgsl: Correct the refcount on current process PID
In kgsl_process_private_new() function there is inconsistency
in the refcount of current process PID. Fix this to avoid
overflowing of reference counter leading to use after free
of this struct.
Change-Id: I6291b9a05e139337e7f8471d0f9409fc839969a3
Signed-off-by:
Archana Sriram <apsrir@codeaurora.org>
Loading
Please register or sign in to comment