]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg:Fix the potential memory leak issue in Display Engine
authorDandan Bi <dandan.bi@intel.com>
Wed, 6 Jan 2016 00:57:23 +0000 (00:57 +0000)
committerdandanbi <dandanbi@Edk2>
Wed, 6 Jan 2016 00:57:23 +0000 (00:57 +0000)
commitb954a4fe01f3477d28eaf575dd36a9015e315aca
treebf19739d478c3063b7440cde6e3a4b6ffc7d7717
parent8339166dd1d8a9b106ee2ee259e5d953d07c5b7c
MdeModulePkg:Fix the potential memory leak issue in Display Engine

The MenuOption insert to gMenuOption allocate memory everytime,but not free.
Now add the code to free it.

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@19593 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c