diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-07 03:19:35 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-07 03:19:35 +0000 |
commit | f0b425b4c03027281802b4643df2db68a34ccaff (patch) | |
tree | 23fde4e8200f76ee3315e9ce555f9347d7bdc62e /IntelFrameworkModulePkg | |
parent | d6b50e78d7c6b5fe09e3f3e913ef848a3115746e (diff) | |
download | edk2-f0b425b4c03027281802b4643df2db68a34ccaff.zip edk2-f0b425b4c03027281802b4643df2db68a34ccaff.tar.gz edk2-f0b425b4c03027281802b4643df2db68a34ccaff.tar.bz2 |
Fix a memory leak issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4278 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/SetupBrowserDxe/InputHandler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/InputHandler.c b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/InputHandler.c index b289bc0..838c120 100644 --- a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/InputHandler.c +++ b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/InputHandler.c @@ -298,6 +298,7 @@ Error: WidthOfString = GetStringWidth (Packet->String);
ScreenSize = MAX(WidthOfString, GetStringWidth (gPressEnter)) / 2;
CreatePopUp (ScreenSize, 4, &NullCharacter, Packet->String, gPressEnter, &NullCharacter);
+ FreePool (Packet->String);
FreePool (Packet);
do {
|