diff options
author | Ronald Cron <Ronald.Cron@arm.com> | 2015-01-06 15:51:02 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-01-06 15:51:02 +0000 |
commit | ad7e31b505b91c9e7baf266dd8cf2ff95befbb8a (patch) | |
tree | eb2b1b0ac7eb8720b925592b2420283c83df9eb6 /EmbeddedPkg/Library/PrePiLib/PrePiLib.inf | |
parent | f98f9d98089be8b5b33669cf6e09f14b819dafc4 (diff) | |
download | edk2-platforms-ad7e31b505b91c9e7baf266dd8cf2ff95befbb8a.tar.xz |
ArmPkg/BdsLib: Close file after reading an Image
When loading an image from a file, close the file after reading from it.
Use OpenProtocol instead of HandleProtocol to retrieve the simple file
system protocol interface.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <Ronald.Cron@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16586 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Library/PrePiLib/PrePiLib.inf')
0 files changed, 0 insertions, 0 deletions