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:
@@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2005 - 2006, Intel Corporation.<BR>
|
||||
Copyright (c) 2005 - 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
|
||||
@@ -370,7 +370,7 @@ Ip4SetVariableData (
|
||||
);
|
||||
}
|
||||
|
||||
gBS->FreePool (IpSb->MacString);
|
||||
FreePool (IpSb->MacString);
|
||||
}
|
||||
|
||||
IpSb->MacString = NewMacString;
|
||||
@@ -385,7 +385,7 @@ Ip4SetVariableData (
|
||||
|
||||
ON_ERROR:
|
||||
|
||||
gBS->FreePool (Ip4VariableData);
|
||||
FreePool (Ip4VariableData);
|
||||
|
||||
return Status;
|
||||
}
|
||||
@@ -412,6 +412,6 @@ Ip4ClearVariableData (
|
||||
NULL
|
||||
);
|
||||
|
||||
gBS->FreePool (IpSb->MacString);
|
||||
FreePool (IpSb->MacString);
|
||||
IpSb->MacString = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user