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

Skip to content
Commit 8eae5b79 authored by Liam Mark's avatar Liam Mark
Browse files

ion: Ensure correct heap type set during heap drain



Since process_one_shrink is attempting to make a secure allocation
correctly set the heap type to system secure heap and not system heap
type.

This is now required since we validate the buffer heap type when the
allocation is processed.

Without this change the allocation will fail as it is attempting to do a
secure allocation from the system heap.

Change-Id: I54fbc2bc6477b47f8e4e92e797b27840d42dde79
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent b1a1a12b
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