On 30.09.2020 14:00, Trammell Hudson wrote: > The config file, kernel, initrd, etc should only be freed if they > are allocated with the UEFI allocator. On x86 the ucode, and on > ARM the dtb, are also marked as need_to_free when allocated or > expanded. > > This also fixes a memory leak in ARM fdt_increase_size() if there > is an error in building the new device tree. > > Signed-off-by: Trammell Hudson <hud...@trmm.net>
Reviewed-by: Jan Beulich <jbeul...@suse.com>