]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
Remove SafeFreePool from MemoryAllocationLib as this API's name is misleading. Its...
[mirror_edk2.git] / MdePkg / Library / UefiMemoryAllocationLib / MemoryAllocationLib.c
index 1c1c879a5fbc1c2dea42564cced980166cea62ab..d4ac3b86e6e2bcc0c5f7e251a69a7b6433eff880 100644 (file)
@@ -667,23 +667,3 @@ FreePool (
   ASSERT_EFI_ERROR (Status);\r
 }\r
 \r
-\r
-/**\r
-  Frees buffer that were previously allocated with one of the\r
-  memory allocation functions in the Memory Allocation Library.\r
-\r
-  @param  Buffer                Pointer to the buffer of pages\r
-                                to free.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-SafeFreePool (\r
-  IN VOID   *Buffer\r
-  )\r
-{\r
-  if (Buffer != NULL) {\r
-    FreePool (Buffer);\r
-  }\r
-}\r
-\r