summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/Udp4Dxe
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/Network/Udp4Dxe')
-rw-r--r--MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Driver.c12
-rw-r--r--MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c10
2 files changed, 11 insertions, 11 deletions
diff --git a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Driver.c b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Driver.c
index c063d41b42..d313601a5e 100644
--- a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Driver.c
+++ b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Driver.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2006, Intel Corporation.<BR>
+Copyright (c) 2006 - 2009, Intel Corporation.<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -127,7 +127,7 @@ Udp4DriverBindingStart (
Status = Udp4CreateService (Udp4Service, This->DriverBindingHandle, ControllerHandle);
if (EFI_ERROR (Status)) {
- gBS->FreePool (Udp4Service);
+ FreePool (Udp4Service);
return Status;
}
@@ -142,7 +142,7 @@ Udp4DriverBindingStart (
);
if (EFI_ERROR (Status)) {
Udp4CleanService (Udp4Service);
- gBS->FreePool (Udp4Service);
+ FreePool (Udp4Service);
} else {
Udp4SetVariableData (Udp4Service);
}
@@ -222,7 +222,7 @@ Udp4DriverBindingStop (
Udp4CleanService (Udp4Service);
- gBS->FreePool (Udp4Service);
+ FreePool (Udp4Service);
} else {
while (!IsListEmpty (&Udp4Service->ChildrenList)) {
@@ -352,7 +352,7 @@ ON_ERROR:
Udp4CleanInstance (Instance);
- gBS->FreePool (Instance);
+ FreePool (Instance);
return Status;
}
@@ -470,7 +470,7 @@ Udp4ServiceBindingDestroyChild (
gBS->RestoreTPL (OldTpl);
- gBS->FreePool (Instance);
+ FreePool (Instance);
return EFI_SUCCESS;
}
diff --git a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
index 3c0e65f717..710d0f9f59 100644
--- a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
+++ b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
@@ -1363,7 +1363,7 @@ Udp4RecycleRxDataWrap (
//
gBS->CloseEvent (Wrap->RxData.RecycleSignal);
- gBS->FreePool (Wrap);
+ FreePool (Wrap);
}
@@ -1413,7 +1413,7 @@ Udp4WrapRxData (
&Wrap->RxData.RecycleSignal
);
if (EFI_ERROR (Status)) {
- gBS->FreePool (Wrap);
+ FreePool (Wrap);
return NULL;
}
@@ -2012,7 +2012,7 @@ Udp4SetVariableData (
);
}
- gBS->FreePool (Udp4Service->MacString);
+ FreePool (Udp4Service->MacString);
}
Udp4Service->MacString = NewMacString;
@@ -2027,7 +2027,7 @@ Udp4SetVariableData (
ON_ERROR:
- gBS->FreePool (Udp4VariableData);
+ FreePool (Udp4VariableData);
return Status;
}
@@ -2054,6 +2054,6 @@ Udp4ClearVariableData (
NULL
);
- gBS->FreePool (Udp4Service->MacString);
+ FreePool (Udp4Service->MacString);
Udp4Service->MacString = NULL;
}