diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-02-06 19:41:29 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-02-16 15:42:20 +0100 |
commit | 16112f9f4832761e6af6f5ddb74c77a107992cb7 (patch) | |
tree | 7fa704b37f087dea601007ed43a8e97ffbf1f5f1 /include/configs/p2371-0000.h | |
parent | bc19681acfa411c48d7ab83679dbc3ef089901d6 (diff) |
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: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/configs/p2371-0000.h')
0 files changed, 0 insertions, 0 deletions