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

Skip to content
Commit dde22ed2 authored by Hareesh Gundu's avatar Hareesh Gundu
Browse files

msm: kgsl: Fix mem leak when page allocation fails



Page allocation may fail during OOM condition. Update
sglen and size to correct value (allocated) so that
they get freed in kgsl_sharedmem_free().

Change-Id: I1aa0ca77bb767523dfcf0f6cc3a21eac2b6b80e4
Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent 012fce15
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