mirror of https://github.com/acidanthera/audk.git
Fix a memory leak issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4276 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9402de91cf
commit
d6b50e78d7
|
@ -411,6 +411,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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue