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:Heinrich Schuchardt <xypron.glpk@gmx.de>
Loading
Please register or sign in to comment