DeviceNode = DumpNode (DeviceNodeStr);\r
} else {\r
DeviceNode = DumpNode (ParamStr);\r
- gBS->FreePool (ParamStr);\r
+ FreePool (ParamStr);\r
}\r
\r
- gBS->FreePool (DeviceNodeStr);\r
+ FreePool (DeviceNodeStr);\r
\r
return DeviceNode;\r
}\r
DeviceNode = DumpNode (DeviceNodeStr);\r
} else {\r
DeviceNode = DumpNode (ParamStr);\r
- gBS->FreePool (ParamStr);\r
+ FreePool (ParamStr);\r
}\r
\r
NewDevicePath = AppendDeviceNodeProtocolInterface (DevicePath, DeviceNode);\r
- gBS->FreePool (DevicePath);\r
- gBS->FreePool (DeviceNode);\r
+ FreePool (DevicePath);\r
+ FreePool (DeviceNode);\r
DevicePath = NewDevicePath;\r
\r
if (IsInstanceEnd) {\r
SetDevicePathInstanceEndNode (DeviceNode);\r
\r
NewDevicePath = AppendDeviceNodeProtocolInterface (DevicePath, DeviceNode);\r
- gBS->FreePool (DevicePath);\r
- gBS->FreePool (DeviceNode);\r
+ FreePool (DevicePath);\r
+ FreePool (DeviceNode);\r
DevicePath = NewDevicePath;\r
}\r
}\r
\r
- gBS->FreePool (DevicePathStr);\r
+ FreePool (DevicePathStr);\r
return DevicePath;\r
}\r