Skip to content
Commit e8287b0f authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: memory leak in efi_capsule_scan_dir()



If realloc() fails, we should free the old buffer.

Fixes: c74cd8bd: ("efi_loader: capsule: add capsule_on_disk support")
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 7d823747
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