edk2/MdeModulePkg/Application
Hao Wu 55f0ddb2b6 MdeModulePkg/UiApp/BootMaint: Add check when to call FreePool function
when free up resource allocated for a MenuEntry, there exists
the case that the DevicePath and DisplayString are NULL,
so before calling FreePool function, need to check.

Please note that on master branch, the file-explorer related codes in
MdeModulePkg/Application/UiApp/BootMaint/ have been extracted into an
independent library called FileExplorerLib in MdeModulePkg/Library/.

Here, we pick the commit bbd6b0106e (on
master branch, fixes the same issue in FileExplorerLib) and integrate it
into MdeModulePkg/Application/UiApp/BootMaint on UDK2015 branch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
(cherry picked from commit bbd6b0106e)
2016-10-19 20:25:56 +08:00
..
BootManagerMenuApp MdeModulePkg: BootManagerMenuApp: remove set but unused variables 2016-07-14 15:51:27 +08:00
HelloWorld MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
MemoryProfileInfo MdeModulePkg-MemoryProfile(3): Use SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET in MemoryProfileInfo. 2016-07-06 16:19:49 +08:00
UiApp MdeModulePkg/UiApp/BootMaint: Add check when to call FreePool function 2016-10-19 20:25:56 +08:00
VariableInfo MdeModulePkg VariableInfo: Fix GCC build failure 2016-07-07 15:08:51 +08:00