diff options
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c index c6c8f8d11b..ab669463c8 100644 --- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c +++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c @@ -121,13 +121,13 @@ UsbBotInit ( if (Context != NULL) {
*Context = UsbBot;
} else {
- gBS->FreePool (UsbBot);
+ FreePool (UsbBot);
}
return EFI_SUCCESS;
ON_ERROR:
- gBS->FreePool (UsbBot);
+ FreePool (UsbBot);
return Status;
}
@@ -587,7 +587,7 @@ UsbBotCleanUp ( IN VOID *Context
)
{
- gBS->FreePool (Context);
+ FreePool (Context);
return EFI_SUCCESS;
}
|