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

Commit 59b5aca1 authored by Jayaprakash's avatar Jayaprakash
Browse files

msm: mdss: Fix Null Pointer Dereference in unmap error case



If buffer mapping is unsuccessful we are unmapping buffer and
returning. In such error case after returning, we are again
unmapping the buffer second time due to which NULL pointer
dereference occurs. Fix this by removing the second unmap.

Change-Id: Ic3a133a423b80b762c1d408824d984063b013f31
Signed-off-by: default avatarJayaprakash <jmadiset@codeaurora.org>
parent 2ac54001
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