diff options
author | Dandan Bi <dandan.bi@intel.com> | 2016-01-15 09:50:40 +0000 |
---|---|---|
committer | dandanbi <dandanbi@Edk2> | 2016-01-15 09:50:40 +0000 |
commit | 0196c24a94c65a7d8ccbd111adff06b84d595a55 (patch) | |
tree | e3eec772af4e46682c33e042757eb9422ab5ea54 /ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni | |
parent | 623538ff98be113c0f3cc12bcadbdfe5466dc5ca (diff) | |
download | edk2-platforms-0196c24a94c65a7d8ccbd111adff06b84d595a55.tar.xz |
MdeModulePkg:Fix the potential memory leak issue in Display Engine
The MenuOption insert to gMenuOption allocate memory every time,but not free.
Now add the code to free it.And for Date/Time,it will create 3 menus,but previously
the Description point to the same address,so when free the Description,it will cause
issue,now reset the Description pointer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19647 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni')
0 files changed, 0 insertions, 0 deletions