]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/MemoryAllocationLib.h
Add conformance check for OldBuffer and size even if the memory allocation fails.
[mirror_edk2.git] / MdePkg / Include / Library / MemoryAllocationLib.h
index 8cc93f2bae663280aedd80ba20e786795eb1506c..597aeecaefd607531b1daa6986654b474f7b91b7 100644 (file)
@@ -84,7 +84,7 @@ AllocateReservedPages (
   Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer.  Buffer\r
   must have been allocated on a previous call to the page allocation services of the Memory\r
   Allocation Library.  If it is not possible to free allocated pages, then this function will\r
-  peform no actions.\r
+  perform no actions.\r
   \r
   If Buffer was not allocated with a page allocation function in the Memory Allocation Library,\r
   then ASSERT().\r
@@ -180,7 +180,7 @@ AllocateAlignedReservedPages (
   Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer.  Buffer\r
   must have been allocated on a previous call to the aligned page allocation services of the Memory\r
   Allocation Library.  If it is not possible to free allocated pages, then this function will \r
-  peform no actions.\r
+  perform no actions.\r
   \r
   If Buffer was not allocated with an aligned page allocation function in the Memory Allocation\r
   Library, then ASSERT().\r
@@ -473,7 +473,7 @@ ReallocateReservedPool (
 \r
   Frees the buffer specified by Buffer.  Buffer must have been allocated on a previous call to the\r
   pool allocation services of the Memory Allocation Library.  If it is not possible to free pool\r
-  resources, then this function will peform no actions.\r
+  resources, then this function will perform no actions.\r
   \r
   If Buffer was not allocated with a pool allocation function in the Memory Allocation Library,\r
   then ASSERT().\r