]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Mem/MemoryProfileRecord.c
MdeModulePkg DxeCore: Return memory type from internal free pool/pages
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Mem / MemoryProfileRecord.c
index 1f17947808e92972aca50f6f2d0ad06449337e50..158803746126890ba7e3633de902cd9398f407ec 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Support routines for UEFI memory profile.\r
 \r
-  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -730,7 +730,7 @@ UnregisterMemoryProfileImage (
     //\r
     // Use CoreInternalFreePool() that will not update profile for this FreePool action.\r
     //\r
-    CoreInternalFreePool (DriverInfoData);\r
+    CoreInternalFreePool (DriverInfoData, NULL);\r
   }\r
 \r
   return TRUE;\r
@@ -1083,7 +1083,7 @@ CoreUpdateProfileFree (
   //\r
   // Use CoreInternalFreePool() that will not update profile for this FreePool action.\r
   //\r
-  CoreInternalFreePool (AllocInfoData);\r
+  CoreInternalFreePool (AllocInfoData, NULL);\r
 \r
   return TRUE;\r
 }\r