]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c
Use Mde library and definition instead of some native definitions in NetLib, to simpl...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / UefiPxeBcDxe / PxeBcMtftp.c
index 08cdb31f8476230aa3e971f699ec9676c71d59d5..495f24120d4461729729c014927a9eb2c7c280d7 100644 (file)
@@ -184,12 +184,12 @@ PxeBcTftpGetFileSize (
     OptCnt--;\r
   }\r
 \r
-  NetFreePool (Option);\r
+  gBS->FreePool (Option);\r
 \r
 ON_ERROR:\r
 \r
   if (Packet != NULL) {\r
-    NetFreePool (Packet);\r
+    gBS->FreePool (Packet);\r
   }\r
 \r
   Mtftp4->Configure (Mtftp4, NULL);\r