diff options
Diffstat (limited to 'MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c index 17709af107..86f56941bc 100644 --- a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c +++ b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c @@ -151,7 +151,7 @@ REMOVE_VARIABLE: ON_ERROR:
if (Variable != NULL) {
- gBS->FreePool (Variable);
+ FreePool (Variable);
}
return NULL;
@@ -296,7 +296,7 @@ Ip4ConfigModifyVariable ( if (Old != NULL) {
TotalLen -= SIZEOF_NIC_IP4_CONFIG_INFO (Old);
- gBS->FreePool (Old);
+ FreePool (Old);
}
if (Config != NULL) {
|