]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg:Fix the potential memory leak issue in Display Engine
authorDandan Bi <dandan.bi@intel.com>
Fri, 15 Jan 2016 09:50:40 +0000 (09:50 +0000)
committerdandanbi <dandanbi@Edk2>
Fri, 15 Jan 2016 09:50:40 +0000 (09:50 +0000)
commit0196c24a94c65a7d8ccbd111adff06b84d595a55
treee3eec772af4e46682c33e042757eb9422ab5ea54
parent623538ff98be113c0f3cc12bcadbdfe5466dc5ca
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
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c