Commit ff91abaa 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 d80f8316
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment