Update network drivers to use FreePool() instead of gBS->FreePool().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9424 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user