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

Skip to content
Commit 6bc22ece authored by Liam Mark's avatar Liam Mark
Browse files

drivers: dma-removed: page align size on free



Fix removed ops memory leak which occurs when non-page
aligned memory is freed.

On free we need to page align the amount of memory being
freed otherwise we risk rounding down the size of the
allocation to the page boundary which would leak one page.

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