]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
Comments have been checked with spec
[mirror_edk2.git] / MdePkg / Library / UefiMemoryAllocationLib / MemoryAllocationLib.c
index cf9fdc8ae1457e54cb6597c47700ebef00287366..04984d0165dab244e8e387a0221a78656caa302a 100644 (file)
@@ -702,7 +702,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
@@ -735,7 +734,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
@@ -767,8 +765,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