]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c
Comments have been checked with spec
[mirror_edk2.git] / MdePkg / Library / PeiMemoryAllocationLib / MemoryAllocationLib.c
index 01279f392ffae5a86d42c10b4296fe86296c157a..b57197b9a3469c3bab2441fabb4fc2c3e8bc0ae0 100644 (file)
@@ -685,7 +685,6 @@ InternalReallocatePool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
   \r
-  If OldBuffer is NULL, then ASSERT().\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -718,7 +717,6 @@ ReallocatePool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
-  If OldBuffer is NULL, then ASSERT().\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -750,8 +748,7 @@ ReallocateRuntimePool (
   OldBuffer is freed.  A pointer to the newly allocated buffer is returned.  \r
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
-  \r
-  If OldBuffer is NULL, then ASSERT().\r
+\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r