commit | 6346a90b72381fa4e37f2afc9ae067f365bc98ca | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Feb 06 19:41:29 2019 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 16 15:42:20 2019 +0100 |
tree | 7fa704b37f087dea601007ed43a8e97ffbf1f5f1 | |
parent | 46da93c8c1d0c39b93cf801310a48cd06756bc0a [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>