summaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-02-06 19:41:29 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-02-16 15:42:20 +0100
commit16112f9f4832761e6af6f5ddb74c77a107992cb7 (patch)
tree7fa704b37f087dea601007ed43a8e97ffbf1f5f1 /include/fastboot.h
parentbc19681acfa411c48d7ab83679dbc3ef089901d6 (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/fastboot.h')
0 files changed, 0 insertions, 0 deletions