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:
qwang12 2008-10-30 09:17:01 +00:00
parent 30ae98da98
commit c59f6dcebe
1 changed files with 10 additions and 0 deletions

View File

@ -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.