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

Skip to content
Commit 2b91868a authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

soc: qcom: mem-buf: Fix memory leak in mem_buf_alloc()



When mem_buf_alloc() encounters an error after mapping the memory
in the stage-2 page tables of the VM, the SGL descriptor is not
freed in the error handling path, so free it.

Change-Id: I6e6fa296311575bb55cd0b9da7a138970e8b8e74
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent e00c3830
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