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

Skip to content
Commit 0bcaa07a authored by Prakash Kamliya's avatar Prakash Kamliya
Browse files

drm/msm: fix leak in failed get_pages



get_pages doesn't keep a reference of the pages allocated
when it fails later in the code path. This can lead to
a memory leak. Keep reference of the allocated pages so
that it can be freed when msm_gem_free_object gets called
later during cleanup.

Change-Id: I44dea20e10c056c1c5e80d01bab0a274ff768b1c
Signed-off-by: default avatarPrakash Kamliya <pkamliya@codeaurora.org>
parent 6cec3ff5
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