summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2019-02-06 19:41:29 +0100
committerHeinrich Schuchardt <[email protected]>2019-02-16 15:42:20 +0100
commit16112f9f4832761e6af6f5ddb74c77a107992cb7 (patch)
tree7fa704b37f087dea601007ed43a8e97ffbf1f5f1 /scripts/checkpatch.pl
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 <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions