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

Commit f26d3c76 authored by Nick Bray's avatar Nick Bray Committed by Greg Hackmann
Browse files

ANDROID: initramfs: call free_initrd() when skipping init



Memory allocated for initrd would not be reclaimed if initializing ramfs
was skipped.

Bug: 69901741
Test: "grep MemTotal /proc/meminfo" increases by a few MB on an Android
device with a/b boot.

Change-Id: Ifbe094d303ed12cfd6de6aa004a8a19137a2f58a
Signed-off-by: default avatarNick Bray <ncbray@google.com>
parent ca3e4eb1
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