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

Skip to content
Commit f55c823c authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Adds NULL check for drawctxt ops



There is a code path which leaves drawctxt->ops uninitialized and
and calls adreno_drawctxt_detach. Adds a check to make sure we
do not dereference a NULL pointer.

Change-Id: I9d1aa5deb0addeb3eea6d375f197669ccd89cfd4
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent 76029f38
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