This->DriverBindingHandle,\r
Controller\r
);\r
- gBS->FreePool (ScsiBusDev);\r
+ FreePool (ScsiBusDev);\r
return EFI_SUCCESS;\r
}\r
\r
);\r
}\r
} else {\r
- gBS->FreePool (ScsiIoDevice);\r
+ FreePool (ScsiIoDevice);\r
}\r
}\r
\r
//\r
// Set Device Path\r
//\r
+ ScsiDevicePath = NULL;\r
if (ScsiIoDevice->ExtScsiSupport){\r
Status = ScsiIoDevice->ExtScsiPassThru->BuildDevicePath (\r
ScsiIoDevice->ExtScsiPassThru,\r
// ScsiPassThru->BuildDevicePath() function; It is no longer used\r
// after EfiAppendDevicePathNode,so free the memory it occupies.\r
//\r
- gBS->FreePool (ScsiDevicePath);\r
+ FreePool (ScsiDevicePath);\r
\r
if (ScsiIoDevice->DevicePath == NULL) {\r
- gBS->FreePool (ScsiIoDevice);\r
+ FreePool (ScsiIoDevice);\r
return EFI_OUT_OF_RESOURCES;\r
}\r
\r