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

Skip to content
Commit 04cbd09f authored by Laura Abbott's avatar Laura Abbott Committed by Shalaj Jain
Browse files

ion: Don't free memory if unsecure fails



If unsecure fails, this means the CPU cannot touch the
physical memory. This means if the memory is freed back to
the buddy allocator all accesses will trigger faults. If
unsecure fails, the only option is to leak the memory and
not free it.

Change-Id: I6a98761912598a9f8cdcc3914eca8e5e41147e55
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 73a4f16f
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