Fix FreePoll() bugs in some places.
Removed the dependency to MdeModulePkg in the HiiLibFramework Removed EDK_RELEASE_VERSION and EFI_SPECIFICATION_VERSION in the Framework inf file. other coding style changes git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7218 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -72,6 +72,8 @@ CreateFormSet (
|
||||
GetCurrentLanguage (CurrentLanguage);
|
||||
Status = AddString (*StringBuffer, CurrentLanguage, FormSetTitle, &StringToken);
|
||||
if (EFI_ERROR (Status)) {
|
||||
FreePool (FormBuffer);
|
||||
FreePool (StringBuffer);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user