Files
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 <[email protected]>
Reviewed-by: Eric Dong <[email protected]>
(cherry picked from commit bbd6b0106e)
2016-10-19 20:25:56 +08:00
..