CopyMem (NewPool, OldPool, OldSize < NewSize ? OldSize : NewSize);\r
}\r
\r
- gBS->FreePool (OldPool);\r
+ FreePool (OldPool);\r
}\r
\r
return NewPool;\r
Str->len = strsize - sizeof (UINT16);\r
}\r
\r
- gBS->FreePool (AppendStr);\r
+ FreePool (AppendStr);\r
return Str->str;\r
}\r
\r
MEDIA_DEVICE_PATH,\r
MEDIA_PROTOCOL_DP,\r
DevPathMediaProtocol,\r
-\r
-#if (EFI_SPECIFICATION_VERSION < 0x00020000)\r
- MEDIA_DEVICE_PATH,\r
- MEDIA_FV_FILEPATH_DP,\r
- DevPathFvFilePath,\r
-#endif\r
-\r
BBS_DEVICE_PATH,\r
BBS_BBS_DP,\r
DevPathBssBss,\r
//\r
// Shrink pool used for string allocation\r
//\r
- gBS->FreePool (DevPath);\r
+ FreePool (DevPath);\r
\r
Done:\r
NewSize = (Str.len + 1) * sizeof (CHAR16);\r