slimbootloader/PayloadPkg
Aiden Park 141d051b8f
OsLoader: Free all allocated memory at failing on a boot option (#453)
While trying to boot all boot options, some allocated memory are not
de-allocated properly. To avoid memory leak while booting next boot
options, OsLoader will track all image data and free the unnecessary
memory at failing to boot current boot option.

Tested and verified with
- Traditional linux image on debug build
- IAS type image
- Container type image
- MultiBoot image
- BootSlot (A/B Boot)
- Trusty image

Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-11-13 09:50:01 -08:00
..
CsmeUpdateDriver Added CSME update driver 2019-10-14 13:16:38 -07:00
FirmwareUpdate Fixed condition check based on klocwork scan (#442) 2019-11-06 16:51:02 -08:00
Include OsLoader: Free all allocated memory at failing on a boot option (#453) 2019-11-13 09:50:01 -08:00
Library OsLoader: Free all allocated memory at failing on a boot option (#453) 2019-11-13 09:50:01 -08:00
OsLoader OsLoader: Free all allocated memory at failing on a boot option (#453) 2019-11-13 09:50:01 -08:00
PayloadPkg.dec Added CSME update driver 2019-10-14 13:16:38 -07:00