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

Skip to content
Commit 810a4bad authored by Abdulla Anam's avatar Abdulla Anam
Browse files

msm: vidc: Free pixel plane handle when map extradata fails



Map extradata or buf_ref_get can fail resulting in memleak.
Free pixel plane handle in those cases. Also if map fails
in map_and_update binfo, derefernce on the null handle still
happens. Hence return immediate if map fails.

Change-Id: Ib02adbccc62208cb6342ad8825e8663c385f7b14
Signed-off-by: default avatarAbdulla Anam <abdullahanam@codeaurora.org>
parent f2485229
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