mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
add info for removal of SafeFreePool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6309 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
30ae98da98
commit
c59f6dcebe
@ -196,3 +196,13 @@ Possible Impacts:
|
||||
Customer's module that reference GetPeiServicesTablePointer in PeiServicesTablePointer library may need to updated. Otherwise
|
||||
a build break (mismatch of data type) may occur.
|
||||
|
||||
EDK_6307: Non-Compatible: qwang12
|
||||
|
||||
Remove SafeFreePool from MemoryAllocationLib as this API's name is misleading. Its implementation only check if a pointer is NULL. If a garbage pointer is passed in, the gBS->FreePool will still ASSERT in debug build and return error code.
|
||||
|
||||
It is recommended that module writer should keep track how a pointer is allocated and free it after use.
|
||||
|
||||
Possible Impacts:
|
||||
Customer's module that reference SafeFreePool need to updated. Otherwise
|
||||
a build break may occur.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user