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

efi_loader: error handling in efi_setup_loaded_image()



In case of an error we should set the returned pointers to NULL. This
ensures that an illegal free does not occur even if the caller calls
free() for the handles.

If protocols cannot be installed, release all resources.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent bc19681a
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